#7E1546#7E1546
#7E1546 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.7% C 0.144 H 358.4°. Best body text is #FFFFFF at 10.08:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1546 |
|---|---|
| RGB | rgb(126, 21, 70) |
| HSL | hsl(332, 71%, 29%) |
| HSV | hsv(332, 83%, 49%) |
| CMYK | cmyk(0%, 83.3%, 44.4%, 50.6%) |
| CIE-LAB | lab(27.89, 46.71, -1.74) |
| CIE-LCH | lch(27.89, 46.74, 357.87°) |
| OKLab | oklab(39.73% 0.1437 -0.004) |
| OKLCH | oklch(39.73% 0.144 358.4) |
| XYZ | xyz(9.9786, 5.4155, 6.3130) |
| Luminance | 0.0541 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 1.35
Wine (survey)
#80013F
ΔE00 2.17
Merlot
#730039
ΔE00 3.43
Reddish Purple
#910951
ΔE00 3.78
Mulberry
#920A4E
ΔE00 3.78
Dark Magenta
#960056
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1546 #157E4D
analogous
#7E157B #7E1546 #7E1915
triadic
#7E1546 #467E15 #15467E
tetradic
#7E1546 #7B7E15 #157E4D #19157E
square
#7E1546 #7B7E15 #157E4D #19157E
split-complementary
#7E1546 #157E19 #157B7E
monochromatic
#1A040F #4A0C29 #7E1546 #B21E63 #DD3181
Accessibility & contrast
On white
10.08
#7E1546 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#7E1546 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1546
10.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1546 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1546 | 1.00 | 10.08 | 2.08 | 10.08 |
| #FFFFFF | 10.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E3547
Deuteranopia (green-blind)
#4A4944
Tritanopia (blue-blind)
#89002C
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7e1546; /* rgb */ color: rgb(126, 21, 70); /* oklch */ color: oklch(39.7% 0.144 358.4);
Tailwind
colors: {
custom: {
50: '#a86079',
500: '#7e1546',
950: '#000000',
},
}SCSS
$custom: #7e1546; $custom-light: #a86079; $custom-dark: #000000;
JSON
{
"hex": "#7e1546",
"rgb": {
"r": 126,
"g": 21,
"b": 70
},
"hsl": {
"h": 332,
"s": 71.429,
"l": 28.824
},
"oklch": {
"l": 0.39726,
"c": 0.14377,
"h": 358.4
},
"luminance": 0.05414
}Semantic roles & 50–950 ramp
primary
#7E1546
secondary
#3CB37B
accent
#EE9A3A
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100509
muted
#7F7A7B