#7E1142#7E1142
#7E1142 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.3% C 0.146 H 0.4°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1142 |
|---|---|
| RGB | rgb(126, 17, 66) |
| HSL | hsl(333, 76%, 28%) |
| HSV | hsv(333, 87%, 49%) |
| CMYK | cmyk(0%, 86.5%, 47.6%, 50.6%) |
| CIE-LAB | lab(27.38, 47.37, 0.21) |
| CIE-LCH | lch(27.38, 47.37, 0.26°) |
| OKLab | oklab(39.31% 0.1457 0.0011) |
| OKLCH | oklch(39.31% 0.146 0.4) |
| XYZ | xyz(9.7888, 5.2312, 5.6475) |
| Luminance | 0.0523 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 1.28
Red Purple
#820747
ΔE00 1.76
Merlot
#730039
ΔE00 2.87
Mulberry
#920A4E
ΔE00 3.99
Reddish Purple
#910951
ΔE00 4.23
Purple Red
#990147
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1142 #117E4D
analogous
#7E1178 #7E1142 #7E1711
triadic
#7E1142 #427E11 #11427E
tetradic
#7E1142 #787E11 #117E4D #17117E
square
#7E1142 #787E11 #117E4D #17117E
split-complementary
#7E1142 #117E17 #11787E
monochromatic
#1B040E #480A26 #7E1142 #B4185E #E2277B
Accessibility & contrast
On white
10.26
#7E1142 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#7E1142 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1142
10.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1142 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1142 | 1.00 | 10.26 | 2.05 | 10.26 |
| #FFFFFF | 10.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D3343
Deuteranopia (green-blind)
#4A4840
Tritanopia (blue-blind)
#890028
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7e1142; /* rgb */ color: rgb(126, 17, 66); /* oklch */ color: oklch(39.3% 0.146 0.4);
Tailwind
colors: {
custom: {
50: '#a95e76',
500: '#7e1142',
950: '#000000',
},
}SCSS
$custom: #7e1142; $custom-light: #a95e76; $custom-dark: #000000;
JSON
{
"hex": "#7e1142",
"rgb": {
"r": 126,
"g": 17,
"b": 66
},
"hsl": {
"h": 333.028,
"s": 76.224,
"l": 28.039
},
"oklch": {
"l": 0.39314,
"c": 0.14573,
"h": 0.4
},
"luminance": 0.0523
}Semantic roles & 50–950 ramp
primary
#7E1142
secondary
#37B47C
accent
#F39D35
background
#FAF5F7
surface
#F5EAED
border
#CFC6C8
text
#110508
muted
#80797B