#7E1838#7E1838
#7E1838 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.5% C 0.137 H 8.1°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1838 |
|---|---|
| RGB | rgb(126, 24, 56) |
| HSL | hsl(341, 68%, 29%) |
| HSV | hsv(341, 81%, 49%) |
| CMYK | cmyk(0%, 81%, 55.6%, 50.6%) |
| CIE-LAB | lab(27.78, 44.51, 7.53) |
| CIE-LCH | lch(27.78, 45.15, 9.60°) |
| OKLab | oklab(39.51% 0.1356 0.0193) |
| OKLCH | oklch(39.51% 0.137 8.1) |
| XYZ | xyz(9.6455, 5.3758, 4.2703) |
| Luminance | 0.0537 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bordeaux
#7B002C
ΔE00 3.16
Red Wine
#8C0034
ΔE00 3.43
Wine (survey)
#80013F
ΔE00 4.13
Merlot
#730039
ΔE00 5.11
Purple Red
#990147
ΔE00 5.63
Red Purple
#820747
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1838 #187E5E
analogous
#7E186B #7E1838 #7E2B18
triadic
#7E1838 #387E18 #18387E
tetradic
#7E1838 #6B7E18 #187E5E #2B187E
square
#7E1838 #6B7E18 #187E5E #2B187E
split-complementary
#7E1838 #187E2B #186B7E
monochromatic
#1A050B #4B0E21 #7E1838 #B1224F #D9376A
Accessibility & contrast
On white
10.12
#7E1838 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#7E1838 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1838
10.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1838 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1838 | 1.00 | 10.12 | 2.07 | 10.12 |
| #FFFFFF | 10.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#333539
Deuteranopia (green-blind)
#4E4935
Tritanopia (blue-blind)
#8A0026
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7e1838; /* rgb */ color: rgb(126, 24, 56); /* oklch */ color: oklch(39.5% 0.137 8.1);
Tailwind
colors: {
custom: {
50: '#a9606e',
500: '#7e1838',
950: '#000000',
},
}SCSS
$custom: #7e1838; $custom-light: #a9606e; $custom-dark: #000000;
JSON
{
"hex": "#7e1838",
"rgb": {
"r": 126,
"g": 24,
"b": 56
},
"hsl": {
"h": 341.176,
"s": 68,
"l": 29.412
},
"oklch": {
"l": 0.39508,
"c": 0.13691,
"h": 8.1
},
"luminance": 0.05374
}Semantic roles & 50–950 ramp
primary
#7E1838
secondary
#3FB28E
accent
#EBB43D
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#110507
muted
#807A7A