#7E1D47#7E1D47
#7E1D47 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.4% C 0.136 H 359.1°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1D47 |
|---|---|
| RGB | rgb(126, 29, 71) |
| HSL | hsl(334, 63%, 30%) |
| HSV | hsv(334, 77%, 49%) |
| CMYK | cmyk(0%, 77%, 43.7%, 50.6%) |
| CIE-LAB | lab(28.83, 44.25, -1.03) |
| CIE-LCH | lch(28.83, 44.26, 358.67°) |
| OKLab | oklab(40.42% 0.1359 -0.0022) |
| OKLCH | oklch(40.42% 0.136 359.1) |
| XYZ | xyz(10.1816, 5.7706, 6.5377) |
| Luminance | 0.0577 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 2.37
Wine (survey)
#80013F
ΔE00 2.88
Mulberry
#920A4E
ΔE00 3.92
Reddish Purple
#910951
ΔE00 4.04
Merlot
#730039
ΔE00 4.14
Dark Magenta
#960056
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1D47 #1D7E54
analogous
#7E1D77 #7E1D47 #7E241D
triadic
#7E1D47 #477E1D #1D477E
tetradic
#7E1D47 #777E1D #1D7E54 #241D7E
square
#7E1D47 #777E1D #1D7E54 #241D7E
split-complementary
#7E1D47 #1D7E24 #1D777E
monochromatic
#1B060F #4C122B #7E1D47 #B02863 #D34281
Accessibility & contrast
On white
9.75
#7E1D47 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#7E1D47 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1D47
9.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1D47 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1D47 | 1.00 | 9.75 | 2.15 | 9.75 |
| #FFFFFF | 9.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#323848
Deuteranopia (green-blind)
#4C4B45
Tritanopia (blue-blind)
#890E2F
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7e1d47; /* rgb */ color: rgb(126, 29, 71); /* oklch */ color: oklch(40.4% 0.136 359.1);
Tailwind
colors: {
custom: {
50: '#a8637a',
500: '#7e1d47',
950: '#000000',
},
}SCSS
$custom: #7e1d47; $custom-light: #a8637a; $custom-dark: #000000;
JSON
{
"hex": "#7e1d47",
"rgb": {
"r": 126,
"g": 29,
"b": 71
},
"hsl": {
"h": 334.021,
"s": 62.581,
"l": 30.392
},
"oklch": {
"l": 0.40425,
"c": 0.13587,
"h": 359.1
},
"luminance": 0.05769
}Semantic roles & 50–950 ramp
primary
#7E1D47
secondary
#45B183
accent
#E69F42
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B