#7E1E48#7E1E48
#7E1E48 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.6% C 0.135 H 358.6°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1E48 |
|---|---|
| RGB | rgb(126, 30, 72) |
| HSL | hsl(334, 62%, 31%) |
| HSV | hsv(334, 76%, 49%) |
| CMYK | cmyk(0%, 76.2%, 42.9%, 50.6%) |
| CIE-LAB | lab(28.99, 43.99, -1.46) |
| CIE-LCH | lch(28.99, 44.02, 358.10°) |
| OKLab | oklab(40.56% 0.135 -0.0033) |
| OKLCH | oklch(40.56% 0.135 358.6) |
| XYZ | xyz(10.2389, 5.8333, 6.7164) |
| Luminance | 0.0583 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 2.44
Wine (survey)
#80013F
ΔE00 3.10
Mulberry
#920A4E
ΔE00 3.94
Reddish Purple
#910951
ΔE00 4.00
Merlot
#730039
ΔE00 4.33
Dark Magenta
#960056
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1E48 #1E7E54
analogous
#7E1E78 #7E1E48 #7E241E
triadic
#7E1E48 #487E1E #1E487E
tetradic
#7E1E48 #787E1E #1E7E54 #241E7E
square
#7E1E48 #787E1E #1E7E54 #241E7E
split-complementary
#7E1E48 #1E7E24 #1E787E
monochromatic
#1B0610 #4D122C #7E1E48 #AF2A64 #D24482
Accessibility & contrast
On white
9.69
#7E1E48 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#7E1E48 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1E48
9.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1E48 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1E48 | 1.00 | 9.69 | 2.17 | 9.69 |
| #FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#323949
Deuteranopia (green-blind)
#4C4B46
Tritanopia (blue-blind)
#891030
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7e1e48; /* rgb */ color: rgb(126, 30, 72); /* oklch */ color: oklch(40.6% 0.135 358.6);
Tailwind
colors: {
custom: {
50: '#a8637a',
500: '#7e1e48',
950: '#000000',
},
}SCSS
$custom: #7e1e48; $custom-light: #a8637a; $custom-dark: #000000;
JSON
{
"hex": "#7e1e48",
"rgb": {
"r": 126,
"g": 30,
"b": 72
},
"hsl": {
"h": 333.75,
"s": 61.538,
"l": 30.588
},
"oklch": {
"l": 0.40555,
"c": 0.13508,
"h": 358.6
},
"luminance": 0.05832
}Semantic roles & 50–950 ramp
primary
#7E1E48
secondary
#47B183
accent
#E59E43
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B