#7E1238#7E1238
#7E1238 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.1% C 0.142 H 6.9°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1238 |
|---|---|
| RGB | rgb(126, 18, 56) |
| HSL | hsl(339, 75%, 28%) |
| HSV | hsv(339, 86%, 49%) |
| CMYK | cmyk(0%, 85.7%, 55.6%, 50.6%) |
| CIE-LAB | lab(27.17, 46.24, 6.68) |
| CIE-LCH | lch(27.17, 46.72, 8.22°) |
| OKLab | oklab(39.06% 0.1411 0.0172) |
| OKLCH | oklch(39.06% 0.142 6.9) |
| XYZ | xyz(9.5352, 5.1551, 4.2336) |
| Luminance | 0.0515 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bordeaux
#7B002C
ΔE00 3.15
Wine (survey)
#80013F
ΔE00 3.31
Red Wine
#8C0034
ΔE00 3.57
Merlot
#730039
ΔE00 4.33
Red Purple
#820747
ΔE00 5.06
Purple Red
#990147
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1238 #127E58
analogous
#7E126E #7E1238 #7E2212
triadic
#7E1238 #387E12 #12387E
tetradic
#7E1238 #6E7E12 #127E58 #22127E
square
#7E1238 #6E7E12 #127E58 #22127E
split-complementary
#7E1238 #127E22 #126E7E
monochromatic
#1B040C #480A20 #7E1238 #B41A50 #E12A6A
Accessibility & contrast
On white
10.34
#7E1238 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#7E1238 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1238
10.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1238 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1238 | 1.00 | 10.34 | 2.03 | 10.34 |
| #FFFFFF | 10.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#303339
Deuteranopia (green-blind)
#4C4835
Tritanopia (blue-blind)
#8A0023
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7e1238; /* rgb */ color: rgb(126, 18, 56); /* oklch */ color: oklch(39.1% 0.142 6.9);
Tailwind
colors: {
custom: {
50: '#a95e6e',
500: '#7e1238',
950: '#000000',
},
}SCSS
$custom: #7e1238; $custom-light: #a95e6e; $custom-dark: #000000;
JSON
{
"hex": "#7e1238",
"rgb": {
"r": 126,
"g": 18,
"b": 56
},
"hsl": {
"h": 338.889,
"s": 75,
"l": 28.235
},
"oklch": {
"l": 0.39062,
"c": 0.14217,
"h": 6.9
},
"luminance": 0.05154
}Semantic roles & 50–950 ramp
primary
#7E1238
secondary
#38B488
accent
#F2B036
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110507
muted
#80797A