#7E1839#7E1839
#7E1839 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.5% C 0.137 H 7.4°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1839 |
|---|---|
| RGB | rgb(126, 24, 57) |
| HSL | hsl(341, 68%, 29%) |
| HSV | hsv(341, 81%, 49%) |
| CMYK | cmyk(0%, 81%, 54.8%, 50.6%) |
| CIE-LAB | lab(27.81, 44.60, 6.89) |
| CIE-LCH | lch(27.81, 45.13, 8.79°) |
| OKLab | oklab(39.54% 0.1359 0.0177) |
| OKLCH | oklch(39.54% 0.137 7.4) |
| XYZ | xyz(9.6702, 5.3857, 4.4004) |
| Luminance | 0.0538 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bordeaux
#7B002C
ΔE00 3.41
Red Wine
#8C0034
ΔE00 3.63
Wine (survey)
#80013F
ΔE00 3.81
Merlot
#730039
ΔE00 4.85
Red Purple
#820747
ΔE00 5.40
Purple Red
#990147
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1839 #187E5D
analogous
#7E186C #7E1839 #7E2A18
triadic
#7E1839 #397E18 #18397E
tetradic
#7E1839 #6C7E18 #187E5D #2A187E
square
#7E1839 #6C7E18 #187E5D #2A187E
split-complementary
#7E1839 #187E2A #186C7E
monochromatic
#1A050C #4B0E22 #7E1839 #B12250 #D9376C
Accessibility & contrast
On white
10.11
#7E1839 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#7E1839 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1839
10.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1839 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1839 | 1.00 | 10.11 | 2.08 | 10.11 |
| #FFFFFF | 10.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#33353A
Deuteranopia (green-blind)
#4D4937
Tritanopia (blue-blind)
#8A0026
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7e1839; /* rgb */ color: rgb(126, 24, 57); /* oklch */ color: oklch(39.5% 0.137 7.4);
Tailwind
colors: {
custom: {
50: '#a9606f',
500: '#7e1839',
950: '#000000',
},
}SCSS
$custom: #7e1839; $custom-light: #a9606f; $custom-dark: #000000;
JSON
{
"hex": "#7e1839",
"rgb": {
"r": 126,
"g": 24,
"b": 57
},
"hsl": {
"h": 340.588,
"s": 68,
"l": 29.412
},
"oklch": {
"l": 0.39537,
"c": 0.1371,
"h": 7.4
},
"luminance": 0.05384
}Semantic roles & 50–950 ramp
primary
#7E1839
secondary
#3FB28D
accent
#EBB33D
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#110507
muted
#807A7A