#7E1E50#7E1E50
#7E1E50 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.9% C 0.139 H 353.3°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1E50 |
|---|---|
| RGB | rgb(126, 30, 80) |
| HSL | hsl(329, 62%, 31%) |
| HSV | hsv(329, 76%, 49%) |
| CMYK | cmyk(0%, 76.2%, 36.5%, 50.6%) |
| CIE-LAB | lab(29.27, 44.90, -6.34) |
| CIE-LCH | lch(29.27, 45.35, 351.96°) |
| OKLab | oklab(40.86% 0.1377 -0.0162) |
| OKLCH | oklch(40.86% 0.139 353.3) |
| XYZ | xyz(10.5171, 5.9446, 8.1814) |
| Luminance | 0.0594 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 3.02
Reddish Purple
#910951
ΔE00 3.93
Velvet
#750851
ΔE00 4.36
Mulberry
#920A4E
ΔE00 4.49
Dark Magenta
#960056
ΔE00 4.64
Wine (survey)
#80013F
ΔE00 4.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1E50 #1E7E4C
analogous
#7C1E7E #7E1E50 #7E1E20
triadic
#7E1E50 #507E1E #1E507E
tetradic
#7E1E50 #7E7C1E #1E7E4C #1E207E
square
#7E1E50 #7E7C1E #1E7E4C #1E207E
split-complementary
#7E1E50 #207E1E #1E7E7C
monochromatic
#1B0611 #4D1231 #7E1E50 #AF2A6F #D2448E
Accessibility & contrast
On white
9.60
#7E1E50 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#7E1E50 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1E50
9.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1E50 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1E50 | 1.00 | 9.60 | 2.19 | 9.60 |
| #FFFFFF | 9.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#303A51
Deuteranopia (green-blind)
#4B4B4E
Tritanopia (blue-blind)
#881534
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7e1e50; /* rgb */ color: rgb(126, 30, 80); /* oklch */ color: oklch(40.9% 0.139 353.3);
Tailwind
colors: {
custom: {
50: '#a76381',
500: '#7e1e50',
950: '#000000',
},
}SCSS
$custom: #7e1e50; $custom-light: #a76381; $custom-dark: #000000;
JSON
{
"hex": "#7e1e50",
"rgb": {
"r": 126,
"g": 30,
"b": 80
},
"hsl": {
"h": 328.75,
"s": 61.538,
"l": 30.588
},
"oklch": {
"l": 0.40857,
"c": 0.1386,
"h": 353.3
},
"luminance": 0.05943
}Semantic roles & 50–950 ramp
primary
#7E1E50
secondary
#47B17A
accent
#E59143
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C