#7E1457#7E1457
#7E1457 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.3% C 0.153 H 347.8°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1457 |
|---|---|
| RGB | rgb(126, 20, 87) |
| HSL | hsl(322, 73%, 29%) |
| HSV | hsv(322, 84%, 49%) |
| CMYK | cmyk(0%, 84.1%, 31%, 50.6%) |
| CIE-LAB | lab(28.45, 48.90, -12.21) |
| CIE-LCH | lch(28.45, 50.40, 345.98°) |
| OKLab | oklab(40.35% 0.1494 -0.0322) |
| OKLCH | oklch(40.35% 0.153 347.8) |
| XYZ | xyz(10.5752, 5.6253, 9.5439) |
| Luminance | 0.0562 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.30
Rich Purple
#720058
ΔE00 4.18
Red Purple
#820747
ΔE00 4.75
Reddish Purple
#910951
ΔE00 5.24
Dark Magenta
#960056
ΔE00 5.28
Red Violet
#9E0168
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1457 #147E3B
analogous
#70147E #7E1457 #7E1422
triadic
#7E1457 #577E14 #14577E
tetradic
#7E1457 #7E7014 #147E3B #14227E
square
#7E1457 #7E7014 #147E3B #14227E
split-complementary
#7E1457 #227E14 #147E70
monochromatic
#1A0412 #490C33 #7E1457 #B31C7B #DE2E9D
Accessibility & contrast
On white
9.88
#7E1457 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#7E1457 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1457
9.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1457 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1457 | 1.00 | 9.88 | 2.12 | 9.88 |
| #FFFFFF | 9.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#263759
Deuteranopia (green-blind)
#464A55
Tritanopia (blue-blind)
#880E34
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7e1457; /* rgb */ color: rgb(126, 20, 87); /* oklch */ color: oklch(40.3% 0.153 347.8);
Tailwind
colors: {
custom: {
50: '#a86086',
500: '#7e1457',
950: '#000000',
},
}SCSS
$custom: #7e1457; $custom-light: #a86086; $custom-dark: #000000;
JSON
{
"hex": "#7e1457",
"rgb": {
"r": 126,
"g": 20,
"b": 87
},
"hsl": {
"h": 322.075,
"s": 72.603,
"l": 28.627
},
"oklch": {
"l": 0.40347,
"c": 0.15284,
"h": 347.8
},
"luminance": 0.05624
}Semantic roles & 50–950 ramp
primary
#7E1457
secondary
#3AB367
accent
#EF7C38
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050B
muted
#7F7A7C