#7E1147#7E1147
#7E1147 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.5% C 0.148 H 357.3°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1147 |
|---|---|
| RGB | rgb(126, 17, 71) |
| HSL | hsl(330, 76%, 28%) |
| HSV | hsv(330, 87%, 49%) |
| CMYK | cmyk(0%, 86.5%, 43.7%, 50.6%) |
| CIE-LAB | lab(27.55, 47.86, -2.91) |
| CIE-LCH | lch(27.55, 47.95, 356.53°) |
| OKLab | oklab(39.49% 0.1474 -0.007) |
| OKLCH | oklch(39.49% 0.148 357.3) |
| XYZ | xyz(9.9427, 5.2928, 6.4581) |
| Luminance | 0.0529 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 0.96
Wine (survey)
#80013F
ΔE00 2.37
Merlot
#730039
ΔE00 3.44
Reddish Purple
#910951
ΔE00 3.67
Mulberry
#920A4E
ΔE00 3.84
Dark Magenta
#960056
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1147 #117E48
analogous
#7E117D #7E1147 #7E1111
triadic
#7E1147 #477E11 #11477E
tetradic
#7E1147 #7D7E11 #117E48 #11117E
square
#7E1147 #7D7E11 #117E48 #11117E
split-complementary
#7E1147 #117E11 #117D7E
monochromatic
#1B040F #480A29 #7E1147 #B41865 #E22784
Accessibility & contrast
On white
10.20
#7E1147 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#7E1147 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1147
10.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1147 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1147 | 1.00 | 10.20 | 2.06 | 10.20 |
| #FFFFFF | 10.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C3448
Deuteranopia (green-blind)
#494845
Tritanopia (blue-blind)
#89002B
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7e1147; /* rgb */ color: rgb(126, 17, 71); /* oklch */ color: oklch(39.5% 0.148 357.3);
Tailwind
colors: {
custom: {
50: '#a85e7a',
500: '#7e1147',
950: '#000000',
},
}SCSS
$custom: #7e1147; $custom-light: #a85e7a; $custom-dark: #000000;
JSON
{
"hex": "#7e1147",
"rgb": {
"r": 126,
"g": 17,
"b": 71
},
"hsl": {
"h": 330.275,
"s": 76.224,
"l": 28.039
},
"oklch": {
"l": 0.39493,
"c": 0.1476,
"h": 357.3
},
"luminance": 0.05291
}Semantic roles & 50–950 ramp
primary
#7E1147
secondary
#37B476
accent
#F39535
background
#FAF5F7
surface
#F4EAED
border
#CEC6C8
text
#100509
muted
#7F797B