#7E1837#7E1837
#7E1837 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.5% C 0.137 H 8.7°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1837 |
|---|---|
| RGB | rgb(126, 24, 55) |
| HSL | hsl(342, 68%, 29%) |
| HSV | hsv(342, 81%, 49%) |
| CMYK | cmyk(0%, 81%, 56.3%, 50.6%) |
| CIE-LAB | lab(27.75, 44.43, 8.17) |
| CIE-LCH | lch(27.75, 45.18, 10.42°) |
| OKLab | oklab(39.48% 0.1351 0.0208) |
| OKLCH | oklch(39.48% 0.137 8.7) |
| XYZ | xyz(9.6213, 5.3661, 4.1428) |
| Luminance | 0.0537 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bordeaux
#7B002C
ΔE00 2.94
Red Wine
#8C0034
ΔE00 3.26
Wine (survey)
#80013F
ΔE00 4.45
Merlot
#730039
ΔE00 5.39
Wine Red
#7B0323
ΔE00 5.63
Purple Red
#990147
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1837 #187E5F
analogous
#7E186A #7E1837 #7E2C18
triadic
#7E1837 #377E18 #18377E
tetradic
#7E1837 #6A7E18 #187E5F #2C187E
square
#7E1837 #6A7E18 #187E5F #2C187E
split-complementary
#7E1837 #187E2C #186A7E
monochromatic
#1A050B #4B0E21 #7E1837 #B1224D #D93769
Accessibility & contrast
On white
10.13
#7E1837 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#7E1837 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1837
10.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1837 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1837 | 1.00 | 10.13 | 2.07 | 10.13 |
| #FFFFFF | 10.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#333438
Deuteranopia (green-blind)
#4E4934
Tritanopia (blue-blind)
#8A0025
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7e1837; /* rgb */ color: rgb(126, 24, 55); /* oklch */ color: oklch(39.5% 0.137 8.7);
Tailwind
colors: {
custom: {
50: '#a9606d',
500: '#7e1837',
950: '#000000',
},
}SCSS
$custom: #7e1837; $custom-light: #a9606d; $custom-dark: #000000;
JSON
{
"hex": "#7e1837",
"rgb": {
"r": 126,
"g": 24,
"b": 55
},
"hsl": {
"h": 341.765,
"s": 68,
"l": 29.412
},
"oklch": {
"l": 0.39481,
"c": 0.13673,
"h": 8.7
},
"luminance": 0.05365
}Semantic roles & 50–950 ramp
primary
#7E1837
secondary
#3FB28F
accent
#EBB63D
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110507
muted
#807A7A