#7E1D48#7E1D48
#7E1D48 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.5% C 0.136 H 358.4°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1D48 |
|---|---|
| RGB | rgb(126, 29, 72) |
| HSL | hsl(333, 63%, 30%) |
| HSV | hsv(333, 77%, 49%) |
| CMYK | cmyk(0%, 77%, 42.9%, 50.6%) |
| CIE-LAB | lab(28.86, 44.35, -1.65) |
| CIE-LCH | lch(28.86, 44.39, 357.87°) |
| OKLab | oklab(40.46% 0.1362 -0.0038) |
| OKLCH | oklch(40.46% 0.136 358.4) |
| XYZ | xyz(10.2140, 5.7835, 6.7081) |
| Luminance | 0.0578 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 2.27
Wine (survey)
#80013F
ΔE00 3.01
Mulberry
#920A4E
ΔE00 3.89
Reddish Purple
#910951
ΔE00 3.93
Merlot
#730039
ΔE00 4.23
Dark Magenta
#960056
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1D48 #1D7E53
analogous
#7E1D78 #7E1D48 #7E221D
triadic
#7E1D48 #487E1D #1D487E
tetradic
#7E1D48 #787E1D #1D7E53 #221D7E
square
#7E1D48 #787E1D #1D7E53 #221D7E
split-complementary
#7E1D48 #1D7E22 #1D787E
monochromatic
#1B060F #4C122C #7E1D48 #B02864 #D34282
Accessibility & contrast
On white
9.74
#7E1D48 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#7E1D48 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1D48
9.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1D48 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1D48 | 1.00 | 9.74 | 2.16 | 9.74 |
| #FFFFFF | 9.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#323849
Deuteranopia (green-blind)
#4C4B46
Tritanopia (blue-blind)
#890F30
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7e1d48; /* rgb */ color: rgb(126, 29, 72); /* oklch */ color: oklch(40.5% 0.136 358.4);
Tailwind
colors: {
custom: {
50: '#a8637a',
500: '#7e1d48',
950: '#000000',
},
}SCSS
$custom: #7e1d48; $custom-light: #a8637a; $custom-dark: #000000;
JSON
{
"hex": "#7e1d48",
"rgb": {
"r": 126,
"g": 29,
"b": 72
},
"hsl": {
"h": 333.402,
"s": 62.581,
"l": 30.392
},
"oklch": {
"l": 0.40461,
"c": 0.13624,
"h": 358.4
},
"luminance": 0.05782
}Semantic roles & 50–950 ramp
primary
#7E1D48
secondary
#45B182
accent
#E69D42
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B