#7E1751#7E1751
#7E1751 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.3% C 0.147 H 351.7°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1751 |
|---|---|
| RGB | rgb(126, 23, 81) |
| HSL | hsl(326, 69%, 29%) |
| HSV | hsv(326, 82%, 49%) |
| CMYK | cmyk(0%, 81.7%, 35.7%, 50.6%) |
| CIE-LAB | lab(28.50, 47.33, -8.17) |
| CIE-LCH | lch(28.50, 48.03, 350.21°) |
| OKLab | oklab(40.3% 0.1452 -0.0211) |
| OKLCH | oklch(40.3% 0.147 351.7) |
| XYZ | xyz(10.3964, 5.6438, 8.3249) |
| Luminance | 0.0564 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 3.11
Velvet
#750851
ΔE00 3.24
Reddish Purple
#910951
ΔE00 4.09
Dark Magenta
#960056
ΔE00 4.58
Mulberry
#920A4E
ΔE00 4.83
Wine (survey)
#80013F
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1751 #177E44
analogous
#78177E #7E1751 #7E171D
triadic
#7E1751 #517E17 #17517E
tetradic
#7E1751 #7E7817 #177E44 #171D7E
square
#7E1751 #7E7817 #177E44 #171D7E
split-complementary
#7E1751 #1D7E17 #177E78
monochromatic
#1A0511 #4A0E30 #7E1751 #B22072 #DA3592
Accessibility & contrast
On white
9.87
#7E1751 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#7E1751 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1751
9.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1751 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1751 | 1.00 | 9.87 | 2.13 | 9.87 |
| #FFFFFF | 9.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B3752
Deuteranopia (green-blind)
#484A4F
Tritanopia (blue-blind)
#880C32
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7e1751; /* rgb */ color: rgb(126, 23, 81); /* oklch */ color: oklch(40.3% 0.147 351.7);
Tailwind
colors: {
custom: {
50: '#a86181',
500: '#7e1751',
950: '#000000',
},
}SCSS
$custom: #7e1751; $custom-light: #a86181; $custom-dark: #000000;
JSON
{
"hex": "#7e1751",
"rgb": {
"r": 126,
"g": 23,
"b": 81
},
"hsl": {
"h": 326.214,
"s": 69.128,
"l": 29.216
},
"oklch": {
"l": 0.40302,
"c": 0.14677,
"h": 351.7
},
"luminance": 0.05642
}Semantic roles & 50–950 ramp
primary
#7E1751
secondary
#3EB371
accent
#EC893C
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C