#7E1454#7E1454
#7E1454 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.2% C 0.151 H 349.6°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1454 |
|---|---|
| RGB | rgb(126, 20, 84) |
| HSL | hsl(324, 73%, 29%) |
| HSV | hsv(324, 84%, 49%) |
| CMYK | cmyk(0%, 84.1%, 33.3%, 50.6%) |
| CIE-LAB | lab(28.32, 48.54, -10.42) |
| CIE-LCH | lch(28.32, 49.64, 347.88°) |
| OKLab | oklab(40.21% 0.1487 -0.0273) |
| OKLCH | oklch(40.21% 0.151 349.6) |
| XYZ | xyz(10.4552, 5.5773, 8.9117) |
| Luminance | 0.0558 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.49
Red Purple
#820747
ΔE00 3.96
Reddish Purple
#910951
ΔE00 4.68
Rich Purple
#720058
ΔE00 4.75
Dark Magenta
#960056
ΔE00 4.89
Mulberry
#920A4E
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1454 #147E3E
analogous
#73147E #7E1454 #7E141F
triadic
#7E1454 #547E14 #14547E
tetradic
#7E1454 #7E7314 #147E3E #141F7E
square
#7E1454 #7E7314 #147E3E #141F7E
split-complementary
#7E1454 #1F7E14 #147E73
monochromatic
#1A0412 #490C31 #7E1454 #B31C77 #DE2E98
Accessibility & contrast
On white
9.93
#7E1454 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#7E1454 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1454
9.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1454 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1454 | 1.00 | 9.93 | 2.12 | 9.93 |
| #FFFFFF | 9.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#283756
Deuteranopia (green-blind)
#474952
Tritanopia (blue-blind)
#880B33
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7e1454; /* rgb */ color: rgb(126, 20, 84); /* oklch */ color: oklch(40.2% 0.151 349.6);
Tailwind
colors: {
custom: {
50: '#a86084',
500: '#7e1454',
950: '#000000',
},
}SCSS
$custom: #7e1454; $custom-light: #a86084; $custom-dark: #000000;
JSON
{
"hex": "#7e1454",
"rgb": {
"r": 126,
"g": 20,
"b": 84
},
"hsl": {
"h": 323.774,
"s": 72.603,
"l": 28.627
},
"oklch": {
"l": 0.40214,
"c": 0.15118,
"h": 349.6
},
"luminance": 0.05576
}Semantic roles & 50–950 ramp
primary
#7E1454
secondary
#3AB36A
accent
#EF8138
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10050A
muted
#7F7A7C