#7E1666#7E1666
#7E1666 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.2% C 0.160 H 339.6°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1666 |
|---|---|
| RGB | rgb(126, 22, 102) |
| HSL | hsl(314, 70%, 29%) |
| HSV | hsv(314, 83%, 49%) |
| CMYK | cmyk(0%, 82.5%, 19%, 50.6%) |
| CIE-LAB | lab(29.34, 50.37, -20.63) |
| CIE-LCH | lch(29.34, 54.43, 337.72°) |
| OKLab | oklab(41.22% 0.1503 -0.0558) |
| OKLCH | oklch(41.22% 0.16 339.6) |
| XYZ | xyz(11.2897, 5.9699, 13.1255) |
| Luminance | 0.0597 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Rich Purple
#720058
ΔE00 3.62
Darkish Purple
#751973
ΔE00 4.34
Velvet
#750851
ΔE00 4.46
Purple
#800080
ΔE00 6.04
Red Violet
#9E0168
ΔE00 6.58
Grape
#6C3461
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1666 #167E2E
analogous
#62167E #7E1666 #7E1632
triadic
#7E1666 #667E16 #16667E
tetradic
#7E1666 #7E6216 #167E2E #16327E
square
#7E1666 #7E6216 #167E2E #16327E
split-complementary
#7E1666 #327E16 #167E62
monochromatic
#1A0515 #4A0D3C #7E1666 #B21F90 #DB33B5
Accessibility & contrast
On white
9.57
#7E1666 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#7E1666 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1666
9.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1666 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1666 | 1.00 | 9.57 | 2.19 | 9.57 |
| #FFFFFF | 9.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E3B68
Deuteranopia (green-blind)
#414B64
Tritanopia (blue-blind)
#861B3D
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7e1666; /* rgb */ color: rgb(126, 22, 102); /* oklch */ color: oklch(41.2% 0.160 339.6);
Tailwind
colors: {
custom: {
50: '#a76192',
500: '#7e1666',
950: '#000000',
},
}SCSS
$custom: #7e1666; $custom-light: #a76192; $custom-dark: #000000;
JSON
{
"hex": "#7e1666",
"rgb": {
"r": 126,
"g": 22,
"b": 102
},
"hsl": {
"h": 313.846,
"s": 70.27,
"l": 29.02
},
"oklch": {
"l": 0.41218,
"c": 0.16034,
"h": 339.6
},
"luminance": 0.05969
}Semantic roles & 50–950 ramp
primary
#7E1666
secondary
#3DB358
accent
#ED643B
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060D
muted
#7F7A7D