#7E1451#7E1451
#7E1451 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.1% C 0.150 H 351.4°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1451 |
|---|---|
| RGB | rgb(126, 20, 81) |
| HSL | hsl(325, 73%, 29%) |
| HSV | hsv(325, 84%, 49%) |
| CMYK | cmyk(0%, 84.1%, 35.7%, 50.6%) |
| CIE-LAB | lab(28.20, 48.18, -8.62) |
| CIE-LCH | lch(28.20, 48.95, 349.86°) |
| OKLab | oklab(40.09% 0.1479 -0.0223) |
| OKLCH | oklch(40.09% 0.15 351.4) |
| XYZ | xyz(10.3402, 5.5313, 8.3061) |
| Luminance | 0.0553 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.93
Red Purple
#820747
ΔE00 3.16
Reddish Purple
#910951
ΔE00 4.19
Dark Magenta
#960056
ΔE00 4.62
Mulberry
#920A4E
ΔE00 4.96
Wine (survey)
#80013F
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1451 #147E41
analogous
#76147E #7E1451 #7E141C
triadic
#7E1451 #517E14 #14517E
tetradic
#7E1451 #7E7614 #147E41 #141C7E
square
#7E1451 #7E7614 #147E41 #141C7E
split-complementary
#7E1451 #1C7E14 #147E76
monochromatic
#1A0411 #490C2F #7E1451 #B31C73 #DE2E93
Accessibility & contrast
On white
9.97
#7E1451 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#7E1451 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1451
9.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1451 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1451 | 1.00 | 9.97 | 2.11 | 9.97 |
| #FFFFFF | 9.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#293752
Deuteranopia (green-blind)
#47494F
Tritanopia (blue-blind)
#880831
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7e1451; /* rgb */ color: rgb(126, 20, 81); /* oklch */ color: oklch(40.1% 0.150 351.4);
Tailwind
colors: {
custom: {
50: '#a86081',
500: '#7e1451',
950: '#000000',
},
}SCSS
$custom: #7e1451; $custom-light: #a86081; $custom-dark: #000000;
JSON
{
"hex": "#7e1451",
"rgb": {
"r": 126,
"g": 20,
"b": 81
},
"hsl": {
"h": 325.472,
"s": 72.603,
"l": 28.627
},
"oklch": {
"l": 0.40085,
"c": 0.14962,
"h": 351.4
},
"luminance": 0.0553
}Semantic roles & 50–950 ramp
primary
#7E1451
secondary
#3AB36E
accent
#EF8638
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C