#7F1767#7F1767
#7F1767 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.5% C 0.161 H 339.6°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1767 |
|---|---|
| RGB | rgb(127, 23, 103) |
| HSL | hsl(314, 69%, 29%) |
| HSV | hsv(314, 82%, 50%) |
| CMYK | cmyk(0%, 81.9%, 18.9%, 50.2%) |
| CIE-LAB | lab(29.68, 50.47, -20.73) |
| CIE-LCH | lch(29.68, 54.56, 337.67°) |
| OKLab | oklab(41.51% 0.1505 -0.0561) |
| OKLCH | oklch(41.51% 0.161 339.6) |
| XYZ | xyz(11.5073, 6.1053, 13.4017) |
| Luminance | 0.0610 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Rich Purple
#720058
ΔE00 3.88
Darkish Purple
#751973
ΔE00 4.34
Velvet
#750851
ΔE00 4.67
Purple
#800080
ΔE00 5.99
Red Violet
#9E0168
ΔE00 6.42
Grape
#6C3461
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1767 #177F2F
analogous
#63177F #7F1767 #7F1733
triadic
#7F1767 #677F17 #17677F
tetradic
#7F1767 #7F6317 #177F2F #17337F
square
#7F1767 #7F6317 #177F2F #17337F
split-complementary
#7F1767 #337F17 #177F63
monochromatic
#1A0515 #4B0E3D #7F1767 #B32091 #DB36B5
Accessibility & contrast
On white
9.46
#7F1767 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#7F1767 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1767
9.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1767 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1767 | 1.00 | 9.46 | 2.22 | 9.46 |
| #FFFFFF | 9.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F3C69
Deuteranopia (green-blind)
#424C65
Tritanopia (blue-blind)
#871C3E
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #7f1767; /* rgb */ color: rgb(127, 23, 103); /* oklch */ color: oklch(41.5% 0.161 339.6);
Tailwind
colors: {
custom: {
50: '#a86292',
500: '#7f1767',
950: '#000000',
},
}SCSS
$custom: #7f1767; $custom-light: #a86292; $custom-dark: #000000;
JSON
{
"hex": "#7f1767",
"rgb": {
"r": 127,
"g": 23,
"b": 103
},
"hsl": {
"h": 313.846,
"s": 69.333,
"l": 29.412
},
"oklch": {
"l": 0.41514,
"c": 0.16066,
"h": 339.6
},
"luminance": 0.06104
}Semantic roles & 50–950 ramp
primary
#7F1767
secondary
#3EB459
accent
#EC643C
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E