#7E1A42#7E1A42
#7E1A42 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.0% C 0.137 H 1.9°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1A42 |
|---|---|
| RGB | rgb(126, 26, 66) |
| HSL | hsl(336, 66%, 30%) |
| HSV | hsv(336, 79%, 49%) |
| CMYK | cmyk(0%, 79.4%, 47.6%, 50.6%) |
| CIE-LAB | lab(28.30, 44.77, 1.54) |
| CIE-LCH | lch(28.30, 44.80, 1.97°) |
| OKLab | oklab(39.98% 0.1374 0.0045) |
| OKLCH | oklch(39.98% 0.137 1.9) |
| XYZ | xyz(9.9578, 5.5691, 5.7038) |
| Luminance | 0.0557 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 2.26
Red Purple
#820747
ΔE00 2.87
Merlot
#730039
ΔE00 3.70
Mulberry
#920A4E
ΔE00 4.25
Reddish Purple
#910951
ΔE00 4.67
Berry
#990F4B
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1A42 #1A7E56
analogous
#7E1A74 #7E1A42 #7E241A
triadic
#7E1A42 #427E1A #1A427E
tetradic
#7E1A42 #747E1A #1A7E56 #241A7E
square
#7E1A42 #747E1A #1A7E56 #241A7E
split-complementary
#7E1A42 #1A7E24 #1A747E
monochromatic
#19050D #4B1027 #7E1A42 #B1245D #D73C7A
Accessibility & contrast
On white
9.94
#7E1A42 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#7E1A42 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1A42
9.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1A42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1A42 | 1.00 | 9.94 | 2.11 | 9.94 |
| #FFFFFF | 9.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#323643
Deuteranopia (green-blind)
#4C4A40
Tritanopia (blue-blind)
#89042C
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7e1a42; /* rgb */ color: rgb(126, 26, 66); /* oklch */ color: oklch(40.0% 0.137 1.9);
Tailwind
colors: {
custom: {
50: '#a86176',
500: '#7e1a42',
950: '#000000',
},
}SCSS
$custom: #7e1a42; $custom-light: #a86176; $custom-dark: #000000;
JSON
{
"hex": "#7e1a42",
"rgb": {
"r": 126,
"g": 26,
"b": 66
},
"hsl": {
"h": 336,
"s": 65.789,
"l": 29.804
},
"oklch": {
"l": 0.39984,
"c": 0.13742,
"h": 1.9
},
"luminance": 0.05568
}Semantic roles & 50–950 ramp
primary
#7E1A42
secondary
#42B285
accent
#E9A53F
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100508
muted
#7F7A7B