#251522 color
The hex color #251522 is a very dark, desaturated magenta.
In the RGB color model it is made of 14.5% red, 8.2% green and 13.3% blue (37, 21, 34).
Its hue angle is 311°, with 28% saturation and 11% lightness. For print, the CMYK equivalent is 0% cyan, 43% magenta, 8% yellow and 85% black.
The closest named color is Shot in the Dark (#1D0D1D), a difference of 2.5 ΔE, a small difference.
White text is the more readable choice on this background (contrast 17.37:1).
#251522 color codes
| HEX | #251522 | |
|---|---|---|
| RGB | rgb(37, 21, 34) | |
| RGB percent | rgb(14.5%, 8.2%, 13.3%) | |
| HSL | hsl(311, 28%, 11%) | |
| HSV / HSB | hsv(311, 43%, 15%) | |
| CMYK | cmyk(0%, 43%, 8%, 85%) | |
| CIE LAB | lab(9.36, 10.86, -5.72) | |
| CIE LCH | lch(9.36, 12.27, 332.23) | |
| CIE XYZ | xyz(1.32, 1.045, 1.645) | |
| Decimal | 2430242 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #251522, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #251522 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 1.21:1 | Fail | Fail | Fail |
| Sample text | 17.37:1 | Pass | Pass | Pass |
| #251522 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 17.37:1 | Pass | Pass | Pass |
| Sample text | 1.21:1 | Fail | Fail | Fail |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #251522 looks to people with the most common types of color vision deficiency.
#151922Protanopia
no red cones#191b22Deuteranopia
no green cones#26161aTritanopia
no blue cones#1a1a1aAchromatopsia
no color vision
CSS examples
.background { background-color: #251522; }
.text { color: #251522; }
.border { border: 2px solid #251522; }
.transparent { background-color: rgb(37 21 34 / 50%); }
.gradient { background: linear-gradient(to right, #251522, #25151a); }
Similar colors
#1d0d1dShot in the Dark#2c1620Black Cherry#180614Crow#110011Glossy Black#220011Belladonna#1f1518Bats Cloak#150811Noir Fiction#301934Dark Purple
Questions
- What color is #251522?
- #251522 is a very dark, desaturated magenta, closest to the named color Shot in the Dark. It belongs to the black family of colors.
- What is the RGB value of #251522?
- The RGB value is 37, 21, 34: 37 red, 21 green and 34 blue on a 0 to 255 scale.
- What is the complementary color of #251522?
- The complementary color is #152518, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #251522?
- White text. Black text has a contrast ratio of 1.21:1 and white text 17.37:1. WCAG asks for at least 4.5:1 for normal text.