#7F1167#7F1167
#7F1167 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 41.1% C 0.166 H 339.4°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1167 |
|---|---|
| RGB | rgb(127, 17, 103) |
| HSL | hsl(313, 76%, 28%) |
| HSV | hsv(313, 87%, 50%) |
| CMYK | cmyk(0%, 86.6%, 18.9%, 50.2%) |
| CIE-LAB | lab(29.14, 52.01, -21.57) |
| CIE-LCH | lch(29.14, 56.31, 337.48°) |
| OKLab | oklab(41.13% 0.1552 -0.0585) |
| OKLCH | oklch(41.13% 0.166 339.4) |
| XYZ | xyz(11.4014, 5.8934, 13.3664) |
| Luminance | 0.0589 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Rich Purple
#720058
ΔE00 3.56
Darkish Purple
#751973
ΔE00 4.16
Velvet
#750851
ΔE00 4.64
Purple
#800080
ΔE00 5.65
Red Violet
#9E0168
ΔE00 6.61
Grape Purple
#5D1451
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1167 #117F29
analogous
#60117F #7F1167 #7F1130
triadic
#7F1167 #677F11 #11677F
tetradic
#7F1167 #7F6011 #117F29 #11307F
square
#7F1167 #7F6011 #117F29 #11307F
split-complementary
#7F1167 #307F11 #117F60
monochromatic
#1B0416 #490A3B #7F1167 #B51893 #E228BA
Accessibility & contrast
On white
9.64
#7F1167 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#7F1167 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1167
9.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1167 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1167 | 1.00 | 9.64 | 2.18 | 9.64 |
| #FFFFFF | 9.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A3A69
Deuteranopia (green-blind)
#404B65
Tritanopia (blue-blind)
#87173D
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7f1167; /* rgb */ color: rgb(127, 17, 103); /* oklch */ color: oklch(41.1% 0.166 339.4);
Tailwind
colors: {
custom: {
50: '#a86092',
500: '#7f1167',
950: '#000000',
},
}SCSS
$custom: #7f1167; $custom-light: #a86092; $custom-dark: #000000;
JSON
{
"hex": "#7f1167",
"rgb": {
"r": 127,
"g": 17,
"b": 103
},
"hsl": {
"h": 313.091,
"s": 76.389,
"l": 28.235
},
"oklch": {
"l": 0.4113,
"c": 0.16587,
"h": 339.4
},
"luminance": 0.05892
}Semantic roles & 50–950 ramp
primary
#7F1167
secondary
#37B552
accent
#F35E35
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10050D
muted
#7F7A7E