#7F1166#7F1166
#7F1166 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 41.1% C 0.165 H 339.9°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1166 |
|---|---|
| RGB | rgb(127, 17, 102) |
| HSL | hsl(314, 76%, 28%) |
| HSV | hsv(314, 87%, 50%) |
| CMYK | cmyk(0%, 86.6%, 19.7%, 50.2%) |
| CIE-LAB | lab(29.09, 51.87, -21.00) |
| CIE-LCH | lch(29.09, 55.96, 337.96°) |
| OKLab | oklab(41.08% 0.1551 -0.0568) |
| OKLCH | oklch(41.08% 0.165 339.9) |
| XYZ | xyz(11.3515, 5.8734, 13.1037) |
| Luminance | 0.0587 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Rich Purple
#720058
ΔE00 3.46
Darkish Purple
#751973
ΔE00 4.37
Velvet
#750851
ΔE00 4.43
Purple
#800080
ΔE00 5.89
Red Violet
#9E0168
ΔE00 6.51
Grape Purple
#5D1451
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1166 #117F2A
analogous
#61117F #7F1166 #7F112F
triadic
#7F1166 #667F11 #11667F
tetradic
#7F1166 #7F6111 #117F2A #112F7F
square
#7F1166 #7F6111 #117F2A #112F7F
split-complementary
#7F1166 #2F7F11 #117F61
monochromatic
#1B0416 #490A3B #7F1166 #B51891 #E228B8
Accessibility & contrast
On white
9.66
#7F1166 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#7F1166 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1166
9.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1166 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1166 | 1.00 | 9.66 | 2.17 | 9.66 |
| #FFFFFF | 9.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B3A68
Deuteranopia (green-blind)
#414B64
Tritanopia (blue-blind)
#87163C
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7f1166; /* rgb */ color: rgb(127, 17, 102); /* oklch */ color: oklch(41.1% 0.165 339.9);
Tailwind
colors: {
custom: {
50: '#a86092',
500: '#7f1166',
950: '#000000',
},
}SCSS
$custom: #7f1166; $custom-light: #a86092; $custom-dark: #000000;
JSON
{
"hex": "#7f1166",
"rgb": {
"r": 127,
"g": 17,
"b": 102
},
"hsl": {
"h": 313.636,
"s": 76.389,
"l": 28.235
},
"oklch": {
"l": 0.41077,
"c": 0.16521,
"h": 339.9
},
"luminance": 0.05872
}Semantic roles & 50–950 ramp
primary
#7F1166
secondary
#37B554
accent
#F36035
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050D
muted
#7F7A7D