#7E1A40#7E1A40
#7E1A40 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.9% C 0.137 H 3.2°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1A40 |
|---|---|
| RGB | rgb(126, 26, 64) |
| HSL | hsl(337, 66%, 30%) |
| HSV | hsv(337, 79%, 49%) |
| CMYK | cmyk(0%, 79.4%, 49.2%, 50.6%) |
| CIE-LAB | lab(28.24, 44.58, 2.79) |
| CIE-LCH | lch(28.24, 44.66, 3.59°) |
| OKLab | oklab(39.92% 0.1366 0.0076) |
| OKLCH | oklch(39.92% 0.137 3.2) |
| XYZ | xyz(9.8998, 5.5459, 5.3987) |
| Luminance | 0.0554 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 2.45
Red Purple
#820747
ΔE00 3.43
Merlot
#730039
ΔE00 3.84
Mulberry
#920A4E
ΔE00 4.60
Purple Red
#990147
ΔE00 5.09
Reddish Purple
#910951
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1A40 #1A7E58
analogous
#7E1A72 #7E1A40 #7E261A
triadic
#7E1A40 #407E1A #1A407E
tetradic
#7E1A40 #727E1A #1A7E58 #261A7E
square
#7E1A40 #727E1A #1A7E58 #261A7E
split-complementary
#7E1A40 #1A7E26 #1A727E
monochromatic
#19050D #4B1026 #7E1A40 #B1245A #D73C77
Accessibility & contrast
On white
9.96
#7E1A40 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#7E1A40 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1A40
9.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1A40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1A40 | 1.00 | 9.96 | 2.11 | 9.96 |
| #FFFFFF | 9.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#323641
Deuteranopia (green-blind)
#4D4A3E
Tritanopia (blue-blind)
#89032B
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7e1a40; /* rgb */ color: rgb(126, 26, 64); /* oklch */ color: oklch(39.9% 0.137 3.2);
Tailwind
colors: {
custom: {
50: '#a86174',
500: '#7e1a40',
950: '#000000',
},
}SCSS
$custom: #7e1a40; $custom-light: #a86174; $custom-dark: #000000;
JSON
{
"hex": "#7e1a40",
"rgb": {
"r": 126,
"g": 26,
"b": 64
},
"hsl": {
"h": 337.2,
"s": 65.789,
"l": 29.804
},
"oklch": {
"l": 0.39919,
"c": 0.13681,
"h": 3.2
},
"luminance": 0.05545
}Semantic roles & 50–950 ramp
primary
#7E1A40
secondary
#42B287
accent
#E9A83F
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#110508
muted
#807A7B