#7E1841#7E1841
#7E1841 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.8% C 0.139 H 2.1°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1841 |
|---|---|
| RGB | rgb(126, 24, 65) |
| HSL | hsl(336, 68%, 29%) |
| HSV | hsv(336, 81%, 49%) |
| CMYK | cmyk(0%, 81%, 48.4%, 50.6%) |
| CIE-LAB | lab(28.04, 45.32, 1.84) |
| CIE-LCH | lch(28.04, 45.35, 2.32°) |
| OKLab | oklab(39.78% 0.1391 0.0052) |
| OKLCH | oklch(39.78% 0.139 2.1) |
| XYZ | xyz(9.8858, 5.4719, 5.5356) |
| Luminance | 0.0547 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 2.03
Red Purple
#820747
ΔE00 2.85
Merlot
#730039
ΔE00 3.50
Mulberry
#920A4E
ΔE00 4.30
Reddish Purple
#910951
ΔE00 4.74
Purple Red
#990147
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1841 #187E55
analogous
#7E1874 #7E1841 #7E2218
triadic
#7E1841 #417E18 #18417E
tetradic
#7E1841 #747E18 #187E55 #22187E
square
#7E1841 #747E18 #187E55 #22187E
split-complementary
#7E1841 #187E22 #18747E
monochromatic
#1A050D #4B0E26 #7E1841 #B1225C #D93778
Accessibility & contrast
On white
10.03
#7E1841 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#7E1841 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1841
10.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1841 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1841 | 1.00 | 10.03 | 2.09 | 10.03 |
| #FFFFFF | 10.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#313642
Deuteranopia (green-blind)
#4C493F
Tritanopia (blue-blind)
#89002A
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7e1841; /* rgb */ color: rgb(126, 24, 65); /* oklch */ color: oklch(39.8% 0.139 2.1);
Tailwind
colors: {
custom: {
50: '#a86075',
500: '#7e1841',
950: '#000000',
},
}SCSS
$custom: #7e1841; $custom-light: #a86075; $custom-dark: #000000;
JSON
{
"hex": "#7e1841",
"rgb": {
"r": 126,
"g": 24,
"b": 65
},
"hsl": {
"h": 335.882,
"s": 68,
"l": 29.412
},
"oklch": {
"l": 0.39784,
"c": 0.13916,
"h": 2.1
},
"luminance": 0.05471
}Semantic roles & 50–950 ramp
primary
#7E1841
secondary
#3FB284
accent
#EBA53D
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#110508
muted
#807A7B