#7E1542#7E1542
#7E1542 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.6% C 0.142 H 1.0°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1542 |
|---|---|
| RGB | rgb(126, 21, 66) |
| HSL | hsl(334, 71%, 29%) |
| HSV | hsv(334, 83%, 49%) |
| CMYK | cmyk(0%, 83.3%, 47.6%, 50.6%) |
| CIE-LAB | lab(27.75, 46.31, 0.75) |
| CIE-LCH | lch(27.75, 46.32, 0.93°) |
| OKLab | oklab(39.59% 0.1423 0.0024) |
| OKLCH | oklch(39.59% 0.142 1) |
| XYZ | xyz(9.8565, 5.3666, 5.6700) |
| Luminance | 0.0537 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 1.62
Red Purple
#820747
ΔE00 2.18
Merlot
#730039
ΔE00 3.17
Mulberry
#920A4E
ΔE00 4.05
Reddish Purple
#910951
ΔE00 4.36
Purple Red
#990147
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1542 #157E51
analogous
#7E1577 #7E1542 #7E1D15
triadic
#7E1542 #427E15 #15427E
tetradic
#7E1542 #777E15 #157E51 #1D157E
square
#7E1542 #777E15 #157E51 #1D157E
split-complementary
#7E1542 #157E1D #15777E
monochromatic
#1A040E #4A0C27 #7E1542 #B21E5D #DD317A
Accessibility & contrast
On white
10.13
#7E1542 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#7E1542 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1542
10.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1542 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1542 | 1.00 | 10.13 | 2.07 | 10.13 |
| #FFFFFF | 10.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F3543
Deuteranopia (green-blind)
#4B4940
Tritanopia (blue-blind)
#89002A
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7e1542; /* rgb */ color: rgb(126, 21, 66); /* oklch */ color: oklch(39.6% 0.142 1.0);
Tailwind
colors: {
custom: {
50: '#a85f76',
500: '#7e1542',
950: '#000000',
},
}SCSS
$custom: #7e1542; $custom-light: #a85f76; $custom-dark: #000000;
JSON
{
"hex": "#7e1542",
"rgb": {
"r": 126,
"g": 21,
"b": 66
},
"hsl": {
"h": 334.286,
"s": 71.429,
"l": 28.824
},
"oklch": {
"l": 0.39586,
"c": 0.14233,
"h": 1
},
"luminance": 0.05365
}Semantic roles & 50–950 ramp
primary
#7E1542
secondary
#3CB380
accent
#EEA13A
background
#FAF5F7
surface
#F5EAED
border
#CFC6C8
text
#110508
muted
#80797B