#7E1665#7E1665
#7E1665 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 41.2% C 0.160 H 340.1°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).
Color values
| HEX | #7E1665 |
|---|---|
| RGB | rgb(126, 22, 101) |
| HSL | hsl(314, 70%, 29%) |
| HSV | hsv(314, 83%, 49%) |
| CMYK | cmyk(0%, 82.5%, 19.8%, 50.6%) |
| CIE-LAB | lab(29.29, 50.22, -20.06) |
| CIE-LCH | lch(29.29, 54.08, 338.23°) |
| OKLab | oklab(41.17% 0.1502 -0.0542) |
| OKLCH | oklch(41.17% 0.16 340.1) |
| XYZ | xyz(11.2404, 5.9502, 12.8659) |
| Luminance | 0.0595 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Rich Purple
#720058
ΔE00 3.54
Velvet
#750851
ΔE00 4.26
Darkish Purple
#751973
ΔE00 4.57
Purple
#800080
ΔE00 6.27
Red Violet
#9E0168
ΔE00 6.48
Grape
#6C3461
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7E1665 #167E2F
analogous
#63167E #7E1665 #7E1631
triadic
#7E1665 #657E16 #16657E
tetradic
#7E1665 #7E6316 #167E2F #16317E
square
#7E1665 #7E6316 #167E2F #16317E
split-complementary
#7E1665 #317E16 #167E63
monochromatic
#1A0515 #4A0D3B #7E1665 #B21F8F #DB33B3
Accessibility & contrast
On white
9.59
#7E1665 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#7E1665 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7E1665
9.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7E1665 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7E1665 | 1.00 | 9.59 | 2.19 | 9.59 |
| #FFFFFF | 9.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F3B67
Deuteranopia (green-blind)
#424B63
Tritanopia (blue-blind)
#861A3D
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7e1665; /* rgb */ color: rgb(126, 22, 101); /* oklch */ color: oklch(41.2% 0.160 340.1);
Tailwind
colors: {
custom: {
50: '#a76191',
500: '#7e1665',
950: '#000000',
},
}SCSS
$custom: #7e1665; $custom-light: #a76191; $custom-dark: #000000;
JSON
{
"hex": "#7e1665",
"rgb": {
"r": 126,
"g": 22,
"b": 101
},
"hsl": {
"h": 314.423,
"s": 70.27,
"l": 29.02
},
"oklch": {
"l": 0.41166,
"c": 0.15966,
"h": 340.1
},
"luminance": 0.05949
}Semantic roles & 50–950 ramp
primary
#7E1665
secondary
#3DB359
accent
#ED663B
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D