#7E1042#7E1042
#7E1042 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.3% C 0.147 H 0.3°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1042 |
|---|---|
| RGB | rgb(126, 16, 66) |
| HSL | hsl(333, 77%, 28%) |
| HSV | hsv(333, 87%, 49%) |
| CMYK | cmyk(0%, 87.3%, 47.6%, 50.6%) |
| CIE-LAB | lab(27.30, 47.61, 0.09) |
| CIE-LCH | lch(27.30, 47.61, 0.11°) |
| OKLab | oklab(39.25% 0.1465 0.0008) |
| OKLCH | oklch(39.25% 0.147 0.3) |
| XYZ | xyz(9.7737, 5.2009, 5.6424) |
| Luminance | 0.0520 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 1.22
Red Purple
#820747
ΔE00 1.68
Merlot
#730039
ΔE00 2.81
Mulberry
#920A4E
ΔE00 3.99
Reddish Purple
#910951
ΔE00 4.21
Purple Red
#990147
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1042 #107E4C
analogous
#7E1079 #7E1042 #7E1510
triadic
#7E1042 #427E10 #10427E
tetradic
#7E1042 #797E10 #107E4C #15107E
square
#7E1042 #797E10 #107E4C #15107E
split-complementary
#7E1042 #107E15 #10797E
monochromatic
#1B030E #480926 #7E1042 #B4175E #E3257C
Accessibility & contrast
On white
10.29
#7E1042 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#7E1042 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1042
10.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1042 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1042 | 1.00 | 10.29 | 2.04 | 10.29 |
| #FFFFFF | 10.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D3343
Deuteranopia (green-blind)
#4A4840
Tritanopia (blue-blind)
#890028
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7e1042; /* rgb */ color: rgb(126, 16, 66); /* oklch */ color: oklch(39.3% 0.147 0.3);
Tailwind
colors: {
custom: {
50: '#a95e76',
500: '#7e1042',
950: '#000000',
},
}SCSS
$custom: #7e1042; $custom-light: #a95e76; $custom-dark: #000000;
JSON
{
"hex": "#7e1042",
"rgb": {
"r": 126,
"g": 16,
"b": 66
},
"hsl": {
"h": 332.727,
"s": 77.465,
"l": 27.843
},
"oklch": {
"l": 0.39253,
"c": 0.14651,
"h": 0.3
},
"luminance": 0.052
}Semantic roles & 50–950 ramp
primary
#7E1042
secondary
#36B47B
accent
#F49D34
background
#FAF5F7
surface
#F5EAED
border
#CFC6C8
text
#110508
muted
#80797B