#7E1E51#7E1E51
#7E1E51 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 40.9% C 0.139 H 352.6°. Best body text is #FFFFFF at 9.58:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1E51 |
|---|---|
| RGB | rgb(126, 30, 81) |
| HSL | hsl(328, 62%, 31%) |
| HSV | hsv(328, 76%, 49%) |
| CMYK | cmyk(0%, 76.2%, 35.7%, 50.6%) |
| CIE-LAB | lab(29.31, 45.02, -6.94) |
| CIE-LCH | lch(29.31, 45.56, 351.23°) |
| OKLab | oklab(40.9% 0.1379 -0.0178) |
| OKLCH | oklch(40.9% 0.139 352.6) |
| XYZ | xyz(10.5543, 5.9595, 8.3775) |
| Luminance | 0.0596 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 3.22
Reddish Purple
#910951
ΔE00 4.02
Velvet
#750851
ΔE00 4.17
Mulberry
#920A4E
ΔE00 4.64
Dark Magenta
#960056
ΔE00 4.66
Wine (survey)
#80013F
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1E51 #1E7E4B
analogous
#7B1E7E #7E1E51 #7E1E21
triadic
#7E1E51 #517E1E #1E517E
tetradic
#7E1E51 #7E7B1E #1E7E4B #1E217E
square
#7E1E51 #7E7B1E #1E7E4B #1E217E
split-complementary
#7E1E51 #217E1E #1E7E7B
monochromatic
#1B0611 #4D1231 #7E1E51 #AF2A71 #D24490
Accessibility & contrast
On white
9.58
#7E1E51 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#7E1E51 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1E51
9.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1E51 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1E51 | 1.00 | 9.58 | 2.19 | 9.58 |
| #FFFFFF | 9.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F3A52
Deuteranopia (green-blind)
#4A4B4F
Tritanopia (blue-blind)
#881635
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7e1e51; /* rgb */ color: rgb(126, 30, 81); /* oklch */ color: oklch(40.9% 0.139 352.6);
Tailwind
colors: {
custom: {
50: '#a76381',
500: '#7e1e51',
950: '#000000',
},
}SCSS
$custom: #7e1e51; $custom-light: #a76381; $custom-dark: #000000;
JSON
{
"hex": "#7e1e51",
"rgb": {
"r": 126,
"g": 30,
"b": 81
},
"hsl": {
"h": 328.125,
"s": 61.538,
"l": 30.588
},
"oklch": {
"l": 0.40897,
"c": 0.13909,
"h": 352.6
},
"luminance": 0.05958
}Semantic roles & 50–950 ramp
primary
#7E1E51
secondary
#47B179
accent
#E58F43
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C