#7E1E54#7E1E54
#7E1E54 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.0% C 0.141 H 350.7°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1E54 |
|---|---|
| RGB | rgb(126, 30, 84) |
| HSL | hsl(326, 62%, 31%) |
| HSV | hsv(326, 76%, 49%) |
| CMYK | cmyk(0%, 76.2%, 33.3%, 50.6%) |
| CIE-LAB | lab(29.43, 45.39, -8.75) |
| CIE-LCH | lch(29.43, 46.23, 349.09°) |
| OKLab | oklab(41.02% 0.1388 -0.0227) |
| OKLCH | oklch(41.02% 0.141 350.7) |
| XYZ | xyz(10.6693, 6.0055, 8.9831) |
| Luminance | 0.0600 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 3.68
Red Purple
#820747
ΔE00 3.88
Reddish Purple
#910951
ΔE00 4.41
Dark Magenta
#960056
ΔE00 4.82
Mulberry
#920A4E
ΔE00 5.16
Wine (survey)
#80013F
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1E54 #1E7E48
analogous
#781E7E #7E1E54 #7E1E24
triadic
#7E1E54 #547E1E #1E547E
tetradic
#7E1E54 #7E781E #1E7E48 #1E247E
square
#7E1E54 #7E781E #1E7E48 #1E247E
split-complementary
#7E1E54 #247E1E #1E7E78
monochromatic
#1B0612 #4D1233 #7E1E54 #AF2A75 #D24494
Accessibility & contrast
On white
9.54
#7E1E54 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#7E1E54 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1E54
9.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1E54 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1E54 | 1.00 | 9.54 | 2.20 | 9.54 |
| #FFFFFF | 9.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E3A55
Deuteranopia (green-blind)
#4A4C52
Tritanopia (blue-blind)
#881736
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7e1e54; /* rgb */ color: rgb(126, 30, 84); /* oklch */ color: oklch(41.0% 0.141 350.7);
Tailwind
colors: {
custom: {
50: '#a76484',
500: '#7e1e54',
950: '#000000',
},
}SCSS
$custom: #7e1e54; $custom-light: #a76484; $custom-dark: #000000;
JSON
{
"hex": "#7e1e54",
"rgb": {
"r": 126,
"g": 30,
"b": 84
},
"hsl": {
"h": 326.25,
"s": 61.538,
"l": 30.588
},
"oklch": {
"l": 0.4102,
"c": 0.14065,
"h": 350.7
},
"luminance": 0.06004
}Semantic roles & 50–950 ramp
primary
#7E1E54
secondary
#47B175
accent
#E58A43
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060A
muted
#7F7A7C