#7F1567#7F1567
#7F1567 is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.4% C 0.163 H 339.5°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1567 |
|---|---|
| RGB | rgb(127, 21, 103) |
| HSL | hsl(314, 72%, 29%) |
| HSV | hsv(314, 83%, 50%) |
| CMYK | cmyk(0%, 83.5%, 18.9%, 50.2%) |
| CIE-LAB | lab(29.48, 51.02, -21.03) |
| CIE-LCH | lch(29.48, 55.19, 337.60°) |
| OKLab | oklab(41.38% 0.1522 -0.057) |
| OKLCH | oklch(41.38% 0.163 339.5) |
| XYZ | xyz(11.4691, 6.0288, 13.3890) |
| Luminance | 0.0603 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Rich Purple
#720058
ΔE00 3.76
Darkish Purple
#751973
ΔE00 4.27
Velvet
#750851
ΔE00 4.64
Purple
#800080
ΔE00 5.86
Red Violet
#9E0168
ΔE00 6.48
Grape
#6C3461
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1567 #157F2D
analogous
#62157F #7F1567 #7F1532
triadic
#7F1567 #677F15 #15677F
tetradic
#7F1567 #7F6215 #157F2D #15327F
square
#7F1567 #7F6215 #157F2D #15327F
split-complementary
#7F1567 #327F15 #157F62
monochromatic
#1A0415 #4A0C3C #7F1567 #B41E92 #DD31B6
Accessibility & contrast
On white
9.52
#7F1567 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#7F1567 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1567
9.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1567 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1567 | 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)
#1D3B69
Deuteranopia (green-blind)
#414B65
Tritanopia (blue-blind)
#871A3D
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7f1567; /* rgb */ color: rgb(127, 21, 103); /* oklch */ color: oklch(41.4% 0.163 339.5);
Tailwind
colors: {
custom: {
50: '#a86192',
500: '#7f1567',
950: '#000000',
},
}SCSS
$custom: #7f1567; $custom-light: #a86192; $custom-dark: #000000;
JSON
{
"hex": "#7f1567",
"rgb": {
"r": 127,
"g": 21,
"b": 103
},
"hsl": {
"h": 313.585,
"s": 71.622,
"l": 29.02
},
"oklch": {
"l": 0.41377,
"c": 0.16253,
"h": 339.5
},
"luminance": 0.06028
}Semantic roles & 50–950 ramp
primary
#7F1567
secondary
#3CB457
accent
#EE6239
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E