#7E1442#7E1442
#7E1442 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.5% C 0.143 H 0.8°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1442 |
|---|---|
| RGB | rgb(126, 20, 66) |
| HSL | hsl(334, 73%, 29%) |
| HSV | hsv(334, 84%, 49%) |
| CMYK | cmyk(0%, 84.1%, 47.6%, 50.6%) |
| CIE-LAB | lab(27.66, 46.59, 0.61) |
| CIE-LCH | lch(27.66, 46.59, 0.75°) |
| OKLab | oklab(39.51% 0.1432 0.0021) |
| OKLCH | oklch(39.51% 0.143 0.8) |
| XYZ | xyz(9.8385, 5.3306, 5.6640) |
| Luminance | 0.0533 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 1.52
Red Purple
#820747
ΔE00 2.07
Merlot
#730039
ΔE00 3.08
Mulberry
#920A4E
ΔE00 4.02
Reddish Purple
#910951
ΔE00 4.32
Purple Red
#990147
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1442 #147E50
analogous
#7E1477 #7E1442 #7E1B14
triadic
#7E1442 #427E14 #14427E
tetradic
#7E1442 #777E14 #147E50 #1B147E
square
#7E1442 #777E14 #147E50 #1B147E
split-complementary
#7E1442 #147E1B #14777E
monochromatic
#1A040E #490C26 #7E1442 #B31C5E #DE2E7B
Accessibility & contrast
On white
10.17
#7E1442 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#7E1442 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1442
10.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1442 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1442 | 1.00 | 10.17 | 2.07 | 10.17 |
| #FFFFFF | 10.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F3443
Deuteranopia (green-blind)
#4B4940
Tritanopia (blue-blind)
#890029
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7e1442; /* rgb */ color: rgb(126, 20, 66); /* oklch */ color: oklch(39.5% 0.143 0.8);
Tailwind
colors: {
custom: {
50: '#a95f76',
500: '#7e1442',
950: '#000000',
},
}SCSS
$custom: #7e1442; $custom-light: #a95f76; $custom-dark: #000000;
JSON
{
"hex": "#7e1442",
"rgb": {
"r": 126,
"g": 20,
"b": 66
},
"hsl": {
"h": 333.962,
"s": 72.603,
"l": 28.627
},
"oklch": {
"l": 0.39514,
"c": 0.14323,
"h": 0.8
},
"luminance": 0.05329
}Semantic roles & 50–950 ramp
primary
#7E1442
secondary
#3AB37F
accent
#EFA038
background
#FAF5F7
surface
#F5EAED
border
#CFC6C8
text
#110508
muted
#80797B