#7E1438#7E1438
#7E1438 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.2% C 0.141 H 7.3°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1438 |
|---|---|
| RGB | rgb(126, 20, 56) |
| HSL | hsl(340, 73%, 29%) |
| HSV | hsv(340, 84%, 49%) |
| CMYK | cmyk(0%, 84.1%, 55.6%, 50.6%) |
| CIE-LAB | lab(27.36, 45.70, 6.94) |
| CIE-LCH | lch(27.36, 46.23, 8.64°) |
| OKLab | oklab(39.2% 0.1394 0.0178) |
| OKLCH | oklch(39.2% 0.141 7.3) |
| XYZ | xyz(9.5691, 5.2228, 4.2449) |
| Luminance | 0.0522 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bordeaux
#7B002C
ΔE00 3.12
Red Wine
#8C0034
ΔE00 3.50
Wine (survey)
#80013F
ΔE00 3.56
Merlot
#730039
ΔE00 4.57
Red Purple
#820747
ΔE00 5.27
Purple Red
#990147
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1438 #147E5A
analogous
#7E146D #7E1438 #7E2514
triadic
#7E1438 #387E14 #14387E
tetradic
#7E1438 #6D7E14 #147E5A #25147E
square
#7E1438 #6D7E14 #147E5A #25147E
split-complementary
#7E1438 #147E25 #146D7E
monochromatic
#1A040C #490C21 #7E1438 #B31C4F #DE2E6A
Accessibility & contrast
On white
10.27
#7E1438 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#7E1438 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1438
10.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1438 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1438 | 1.00 | 10.27 | 2.04 | 10.27 |
| #FFFFFF | 10.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#313339
Deuteranopia (green-blind)
#4D4835
Tritanopia (blue-blind)
#8A0024
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7e1438; /* rgb */ color: rgb(126, 20, 56); /* oklch */ color: oklch(39.2% 0.141 7.3);
Tailwind
colors: {
custom: {
50: '#a95f6e',
500: '#7e1438',
950: '#000000',
},
}SCSS
$custom: #7e1438; $custom-light: #a95f6e; $custom-dark: #000000;
JSON
{
"hex": "#7e1438",
"rgb": {
"r": 126,
"g": 20,
"b": 56
},
"hsl": {
"h": 339.623,
"s": 72.603,
"l": 28.627
},
"oklch": {
"l": 0.392,
"c": 0.14053,
"h": 7.3
},
"luminance": 0.05221
}Semantic roles & 50–950 ramp
primary
#7E1438
secondary
#3AB38A
accent
#EFB138
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110507
muted
#80797A