#7F1165#7F1165
#7F1165 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 41.0% C 0.165 H 340.4°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1165 |
|---|---|
| RGB | rgb(127, 17, 101) |
| HSL | hsl(314, 76%, 28%) |
| HSV | hsv(314, 87%, 50%) |
| CMYK | cmyk(0%, 86.6%, 20.5%, 50.2%) |
| CIE-LAB | lab(29.04, 51.73, -20.43) |
| CIE-LCH | lch(29.04, 55.62, 338.45°) |
| OKLab | oklab(41.03% 0.155 -0.0552) |
| OKLCH | oklch(41.03% 0.165 340.4) |
| XYZ | xyz(11.3022, 5.8537, 12.8441) |
| Luminance | 0.0585 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Rich Purple
#720058
ΔE00 3.38
Velvet
#750851
ΔE00 4.22
Darkish Purple
#751973
ΔE00 4.59
Purple
#800080
ΔE00 6.12
Red Violet
#9E0168
ΔE00 6.41
Grape Purple
#5D1451
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1165 #117F2B
analogous
#62117F #7F1165 #7F112E
triadic
#7F1165 #657F11 #11657F
tetradic
#7F1165 #7F6211 #117F2B #112E7F
square
#7F1165 #7F6211 #117F2B #112E7F
split-complementary
#7F1165 #2E7F11 #117F62
monochromatic
#1B0415 #490A3A #7F1165 #B51890 #E228B6
Accessibility & contrast
On white
9.67
#7F1165 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#7F1165 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1165
9.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1165 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1165 | 1.00 | 9.67 | 2.17 | 9.67 |
| #FFFFFF | 9.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C3A67
Deuteranopia (green-blind)
#414A63
Tritanopia (blue-blind)
#87163B
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7f1165; /* rgb */ color: rgb(127, 17, 101); /* oklch */ color: oklch(41.0% 0.165 340.4);
Tailwind
colors: {
custom: {
50: '#a86091',
500: '#7f1165',
950: '#000000',
},
}SCSS
$custom: #7f1165; $custom-light: #a86091; $custom-dark: #000000;
JSON
{
"hex": "#7f1165",
"rgb": {
"r": 127,
"g": 17,
"b": 101
},
"hsl": {
"h": 314.182,
"s": 76.389,
"l": 28.235
},
"oklch": {
"l": 0.41025,
"c": 0.16455,
"h": 340.4
},
"luminance": 0.05853
}Semantic roles & 50–950 ramp
primary
#7F1165
secondary
#37B555
accent
#F36235
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D