#7E1842#7E1842
#7E1842 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.8% C 0.139 H 1.5°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1842 |
|---|---|
| RGB | rgb(126, 24, 66) |
| HSL | hsl(335, 68%, 29%) |
| HSV | hsv(335, 81%, 49%) |
| CMYK | cmyk(0%, 81%, 47.6%, 50.6%) |
| CIE-LAB | lab(28.07, 45.41, 1.21) |
| CIE-LCH | lch(28.07, 45.43, 1.53°) |
| OKLab | oklab(39.82% 0.1394 0.0036) |
| OKLCH | oklch(39.82% 0.139 1.5) |
| XYZ | xyz(9.9150, 5.4836, 5.6895) |
| Luminance | 0.0548 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 1.98
Red Purple
#820747
ΔE00 2.57
Merlot
#730039
ΔE00 3.46
Mulberry
#920A4E
ΔE00 4.15
Reddish Purple
#910951
ΔE00 4.53
Berry
#990F4B
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1842 #187E54
analogous
#7E1875 #7E1842 #7E2118
triadic
#7E1842 #427E18 #18427E
tetradic
#7E1842 #757E18 #187E54 #21187E
square
#7E1842 #757E18 #187E54 #21187E
split-complementary
#7E1842 #187E21 #18757E
monochromatic
#1A050D #4B0E27 #7E1842 #B1225D #D9377A
Accessibility & contrast
On white
10.02
#7E1842 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#7E1842 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1842
10.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1842 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1842 | 1.00 | 10.02 | 2.10 | 10.02 |
| #FFFFFF | 10.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#313643
Deuteranopia (green-blind)
#4C4940
Tritanopia (blue-blind)
#89012B
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7e1842; /* rgb */ color: rgb(126, 24, 66); /* oklch */ color: oklch(39.8% 0.139 1.5);
Tailwind
colors: {
custom: {
50: '#a86076',
500: '#7e1842',
950: '#000000',
},
}SCSS
$custom: #7e1842; $custom-light: #a86076; $custom-dark: #000000;
JSON
{
"hex": "#7e1842",
"rgb": {
"r": 126,
"g": 24,
"b": 66
},
"hsl": {
"h": 335.294,
"s": 68,
"l": 29.412
},
"oklch": {
"l": 0.39817,
"c": 0.13947,
"h": 1.5
},
"luminance": 0.05482
}Semantic roles & 50–950 ramp
primary
#7E1842
secondary
#3FB283
accent
#EBA33D
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#110508
muted
#807A7B