#7F1566#7F1566
#7F1566 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.3% C 0.162 H 340.0°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1566 |
|---|---|
| RGB | rgb(127, 21, 102) |
| HSL | hsl(314, 72%, 29%) |
| HSV | hsv(314, 83%, 50%) |
| CMYK | cmyk(0%, 83.5%, 19.7%, 50.2%) |
| CIE-LAB | lab(29.43, 50.88, -20.46) |
| CIE-LCH | lch(29.43, 54.84, 338.09°) |
| OKLab | oklab(41.32% 0.1521 -0.0553) |
| OKLCH | oklch(41.32% 0.162 340) |
| XYZ | xyz(11.4192, 6.0088, 13.1262) |
| Luminance | 0.0601 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Rich Purple
#720058
ΔE00 3.67
Velvet
#750851
ΔE00 4.44
Darkish Purple
#751973
ΔE00 4.49
Purple
#800080
ΔE00 6.09
Red Violet
#9E0168
ΔE00 6.38
Grape
#6C3461
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1566 #157F2E
analogous
#63157F #7F1566 #7F1531
triadic
#7F1566 #667F15 #15667F
tetradic
#7F1566 #7F6315 #157F2E #15317F
square
#7F1566 #7F6315 #157F2E #15317F
split-complementary
#7F1566 #317F15 #157F63
monochromatic
#1A0415 #4A0C3C #7F1566 #B41E90 #DD31B5
Accessibility & contrast
On white
9.54
#7F1566 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#7F1566 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1566
9.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1566 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1566 | 1.00 | 9.54 | 2.20 | 9.54 |
| #FFFFFF | 9.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E3B68
Deuteranopia (green-blind)
#424B64
Tritanopia (blue-blind)
#87193D
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7f1566; /* rgb */ color: rgb(127, 21, 102); /* oklch */ color: oklch(41.3% 0.162 340.0);
Tailwind
colors: {
custom: {
50: '#a86192',
500: '#7f1566',
950: '#000000',
},
}SCSS
$custom: #7f1566; $custom-light: #a86192; $custom-dark: #000000;
JSON
{
"hex": "#7f1566",
"rgb": {
"r": 127,
"g": 21,
"b": 102
},
"hsl": {
"h": 314.151,
"s": 71.622,
"l": 29.02
},
"oklch": {
"l": 0.41324,
"c": 0.16185,
"h": 340
},
"luminance": 0.06008
}Semantic roles & 50–950 ramp
primary
#7F1566
secondary
#3CB458
accent
#EE6439
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060D
muted
#7F7A7D