#7E1667#7E1667
#7E1667 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.3% C 0.161 H 339.1°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1667 |
|---|---|
| RGB | rgb(126, 22, 103) |
| HSL | hsl(313, 70%, 29%) |
| HSV | hsv(313, 83%, 49%) |
| CMYK | cmyk(0%, 82.5%, 18.3%, 50.6%) |
| CIE-LAB | lab(29.39, 50.51, -21.20) |
| CIE-LCH | lch(29.39, 54.78, 337.23°) |
| OKLab | oklab(41.27% 0.1504 -0.0575) |
| OKLCH | oklch(41.27% 0.161 339.1) |
| XYZ | xyz(11.3396, 5.9899, 13.3883) |
| Luminance | 0.0599 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Rich Purple
#720058
ΔE00 3.71
Darkish Purple
#751973
ΔE00 4.11
Velvet
#750851
ΔE00 4.67
Purple
#800080
ΔE00 5.80
Red Violet
#9E0168
ΔE00 6.68
Grape
#6C3461
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1667 #167E2D
analogous
#61167E #7E1667 #7E1633
triadic
#7E1667 #677E16 #16677E
tetradic
#7E1667 #7E6116 #167E2D #16337E
square
#7E1667 #7E6116 #167E2D #16337E
split-complementary
#7E1667 #337E16 #167E61
monochromatic
#1A0515 #4A0D3C #7E1667 #B21F92 #DB33B6
Accessibility & contrast
On white
9.56
#7E1667 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#7E1667 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1667
9.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1667 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1667 | 1.00 | 9.56 | 2.20 | 9.56 |
| #FFFFFF | 9.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D3B69
Deuteranopia (green-blind)
#414B65
Tritanopia (blue-blind)
#861B3E
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7e1667; /* rgb */ color: rgb(126, 22, 103); /* oklch */ color: oklch(41.3% 0.161 339.1);
Tailwind
colors: {
custom: {
50: '#a76192',
500: '#7e1667',
950: '#000000',
},
}SCSS
$custom: #7e1667; $custom-light: #a76192; $custom-dark: #000000;
JSON
{
"hex": "#7e1667",
"rgb": {
"r": 126,
"g": 22,
"b": 103
},
"hsl": {
"h": 313.269,
"s": 70.27,
"l": 29.02
},
"oklch": {
"l": 0.41271,
"c": 0.16101,
"h": 339.1
},
"luminance": 0.05989
}Semantic roles & 50–950 ramp
primary
#7E1667
secondary
#3DB357
accent
#ED623B
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E