#7F1665#7F1665
#7F1665 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.3% C 0.160 H 340.6°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1665 |
|---|---|
| RGB | rgb(127, 22, 101) |
| HSL | hsl(315, 70%, 29%) |
| HSV | hsv(315, 83%, 50%) |
| CMYK | cmyk(0%, 82.7%, 20.5%, 50.2%) |
| CIE-LAB | lab(29.48, 50.47, -19.75) |
| CIE-LCH | lch(29.48, 54.19, 338.63°) |
| OKLab | oklab(41.34% 0.1511 -0.0533) |
| OKLCH | oklch(41.34% 0.16 340.6) |
| XYZ | xyz(11.3886, 6.0266, 12.8729) |
| Luminance | 0.0602 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Rich Purple
#720058
ΔE00 3.67
Velvet
#750851
ΔE00 4.25
Darkish Purple
#751973
ΔE00 4.75
Red Violet
#9E0168
ΔE00 6.26
Purple
#800080
ΔE00 6.39
Grape
#6C3461
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1665 #167F30
analogous
#65167F #7F1665 #7F1631
triadic
#7F1665 #657F16 #16657F
tetradic
#7F1665 #7F6516 #167F30 #16317F
square
#7F1665 #7F6516 #167F30 #16317F
split-complementary
#7F1665 #317F16 #167F65
monochromatic
#1A0515 #4B0D3C #7F1665 #B31F8E #DC34B2
Accessibility & contrast
On white
9.52
#7F1665 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#7F1665 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1665
9.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1665 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1665 | 1.00 | 9.52 | 2.21 | 9.52 |
| #FFFFFF | 9.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#203B67
Deuteranopia (green-blind)
#424B63
Tritanopia (blue-blind)
#871A3D
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7f1665; /* rgb */ color: rgb(127, 22, 101); /* oklch */ color: oklch(41.3% 0.160 340.6);
Tailwind
colors: {
custom: {
50: '#a86191',
500: '#7f1665',
950: '#000000',
},
}SCSS
$custom: #7f1665; $custom-light: #a86191; $custom-dark: #000000;
JSON
{
"hex": "#7f1665",
"rgb": {
"r": 127,
"g": 22,
"b": 101
},
"hsl": {
"h": 314.857,
"s": 70.47,
"l": 29.216
},
"oklch": {
"l": 0.4134,
"c": 0.16027,
"h": 340.6
},
"luminance": 0.06025
}Semantic roles & 50–950 ramp
primary
#7F1665
secondary
#3DB45A
accent
#ED673B
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D