#7E1543#7E1543
#7E1543 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.6% C 0.143 H 0.3°. Best body text is #FFFFFF at 10.12:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1543 |
|---|---|
| RGB | rgb(126, 21, 67) |
| HSL | hsl(334, 71%, 29%) |
| HSV | hsv(334, 83%, 49%) |
| CMYK | cmyk(0%, 83.3%, 46.8%, 50.6%) |
| CIE-LAB | lab(27.79, 46.41, 0.13) |
| CIE-LCH | lch(27.79, 46.41, 0.16°) |
| OKLab | oklab(39.62% 0.1427 0.0008) |
| OKLCH | oklch(39.62% 0.143 0.3) |
| XYZ | xyz(9.8863, 5.3785, 5.8267) |
| Luminance | 0.0538 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 1.69
Red Purple
#820747
ΔE00 1.92
Merlot
#730039
ΔE00 3.18
Mulberry
#920A4E
ΔE00 3.94
Reddish Purple
#910951
ΔE00 4.19
Berry
#990F4B
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1543 #157E50
analogous
#7E1578 #7E1543 #7E1B15
triadic
#7E1543 #437E15 #15437E
tetradic
#7E1543 #787E15 #157E50 #1B157E
square
#7E1543 #787E15 #157E50 #1B157E
split-complementary
#7E1543 #157E1B #15787E
monochromatic
#1A040E #4A0C27 #7E1543 #B21E5F #DD317C
Accessibility & contrast
On white
10.12
#7E1543 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#7E1543 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1543
10.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1543 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1543 | 1.00 | 10.12 | 2.08 | 10.12 |
| #FFFFFF | 10.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F3544
Deuteranopia (green-blind)
#4B4941
Tritanopia (blue-blind)
#89002A
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7e1543; /* rgb */ color: rgb(126, 21, 67); /* oklch */ color: oklch(39.6% 0.143 0.3);
Tailwind
colors: {
custom: {
50: '#a85f76',
500: '#7e1543',
950: '#000000',
},
}SCSS
$custom: #7e1543; $custom-light: #a85f76; $custom-dark: #000000;
JSON
{
"hex": "#7e1543",
"rgb": {
"r": 126,
"g": 21,
"b": 67
},
"hsl": {
"h": 333.714,
"s": 71.429,
"l": 28.824
},
"oklch": {
"l": 0.3962,
"c": 0.14267,
"h": 0.3
},
"luminance": 0.05377
}Semantic roles & 50–950 ramp
primary
#7E1543
secondary
#3CB37F
accent
#EE9F3A
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#110508
muted
#807A7B