#7E1239#7E1239
#7E1239 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.1% C 0.142 H 6.3°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1239 |
|---|---|
| RGB | rgb(126, 18, 57) |
| HSL | hsl(338, 75%, 28%) |
| HSV | hsv(338, 86%, 49%) |
| CMYK | cmyk(0%, 85.7%, 54.8%, 50.6%) |
| CIE-LAB | lab(27.20, 46.32, 6.04) |
| CIE-LCH | lch(27.20, 46.71, 7.43°) |
| OKLab | oklab(39.09% 0.1415 0.0156) |
| OKLCH | oklch(39.09% 0.142 6.3) |
| XYZ | xyz(9.5599, 5.1650, 4.3637) |
| Luminance | 0.0516 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 2.99
Bordeaux
#7B002C
ΔE00 3.45
Red Wine
#8C0034
ΔE00 3.81
Merlot
#730039
ΔE00 4.08
Red Purple
#820747
ΔE00 4.72
Purple Red
#990147
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1239 #127E57
analogous
#7E126F #7E1239 #7E2112
triadic
#7E1239 #397E12 #12397E
tetradic
#7E1239 #6F7E12 #127E57 #21127E
square
#7E1239 #6F7E12 #127E57 #21127E
split-complementary
#7E1239 #127E21 #126F7E
monochromatic
#1B040C #480A21 #7E1239 #B41A51 #E12A6C
Accessibility & contrast
On white
10.33
#7E1239 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#7E1239 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1239
10.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1239 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1239 | 1.00 | 10.33 | 2.03 | 10.33 |
| #FFFFFF | 10.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#30333A
Deuteranopia (green-blind)
#4C4836
Tritanopia (blue-blind)
#8A0024
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7e1239; /* rgb */ color: rgb(126, 18, 57); /* oklch */ color: oklch(39.1% 0.142 6.3);
Tailwind
colors: {
custom: {
50: '#a95e6f',
500: '#7e1239',
950: '#000000',
},
}SCSS
$custom: #7e1239; $custom-light: #a95e6f; $custom-dark: #000000;
JSON
{
"hex": "#7e1239",
"rgb": {
"r": 126,
"g": 18,
"b": 57
},
"hsl": {
"h": 338.333,
"s": 75,
"l": 28.235
},
"oklch": {
"l": 0.39091,
"c": 0.14239,
"h": 6.3
},
"luminance": 0.05164
}Semantic roles & 50–950 ramp
primary
#7E1239
secondary
#38B487
accent
#F2AE36
background
#FBF5F6
surface
#F6EAEC
border
#D0C6C7
text
#110507
muted
#80797A