#7E1139#7E1139
#7E1139 is a dark, vivid pink. Relative luminance 0.051; OKLCH L 39.0% C 0.143 H 6.1°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1139 |
|---|---|
| RGB | rgb(126, 17, 57) |
| HSL | hsl(338, 76%, 28%) |
| HSV | hsv(338, 87%, 49%) |
| CMYK | cmyk(0%, 86.5%, 54.8%, 50.6%) |
| CIE-LAB | lab(27.11, 46.58, 5.91) |
| CIE-LCH | lch(27.11, 46.95, 7.24°) |
| OKLab | oklab(39.03% 0.1424 0.0153) |
| OKLCH | oklch(39.03% 0.143 6.1) |
| XYZ | xyz(9.5441, 5.1333, 4.3584) |
| Luminance | 0.0513 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 2.87
Bordeaux
#7B002C
ΔE00 3.47
Red Wine
#8C0034
ΔE00 3.85
Merlot
#730039
ΔE00 3.97
Red Purple
#820747
ΔE00 4.63
Purple Red
#990147
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1139 #117E56
analogous
#7E116F #7E1139 #7E2011
triadic
#7E1139 #397E11 #11397E
tetradic
#7E1139 #6F7E11 #117E56 #20117E
square
#7E1139 #6F7E11 #117E56 #20117E
split-complementary
#7E1139 #117E20 #116F7E
monochromatic
#1B040C #480A21 #7E1139 #B41851 #E2276C
Accessibility & contrast
On white
10.36
#7E1139 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#7E1139 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1139
10.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1139 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1139 | 1.00 | 10.36 | 2.03 | 10.36 |
| #FFFFFF | 10.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#30323A
Deuteranopia (green-blind)
#4C4836
Tritanopia (blue-blind)
#8A0024
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7e1139; /* rgb */ color: rgb(126, 17, 57); /* oklch */ color: oklch(39.0% 0.143 6.1);
Tailwind
colors: {
custom: {
50: '#a95e6f',
500: '#7e1139',
950: '#000000',
},
}SCSS
$custom: #7e1139; $custom-light: #a95e6f; $custom-dark: #000000;
JSON
{
"hex": "#7e1139",
"rgb": {
"r": 126,
"g": 17,
"b": 57
},
"hsl": {
"h": 337.982,
"s": 76.224,
"l": 28.039
},
"oklch": {
"l": 0.39026,
"c": 0.14317,
"h": 6.1
},
"luminance": 0.05132
}Semantic roles & 50–950 ramp
primary
#7E1139
secondary
#37B486
accent
#F3AD35
background
#FBF5F6
surface
#F6EAEC
border
#D0C6C7
text
#110507
muted
#80797A