#7F164D#7F164D
#7F164D is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.2% C 0.147 H 354.5°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).
Color values
| HEX | #7F164D |
|---|---|
| RGB | rgb(127, 22, 77) |
| HSL | hsl(329, 70%, 29%) |
| HSV | hsv(329, 83%, 50%) |
| CMYK | cmyk(0%, 82.7%, 39.4%, 50.2%) |
| CIE-LAB | lab(28.44, 47.44, -5.58) |
| CIE-LCH | lch(28.44, 47.76, 353.30°) |
| OKLab | oklab(40.25% 0.1459 -0.0141) |
| OKLCH | oklch(40.25% 0.147 354.5) |
| XYZ | xyz(10.3796, 5.6230, 7.5585) |
| Luminance | 0.0562 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 1.97
Reddish Purple
#910951
ΔE00 3.47
Wine (survey)
#80013F
ΔE00 3.83
Mulberry
#920A4E
ΔE00 4.00
Velvet
#750851
ΔE00 4.20
Dark Magenta
#960056
ΔE00 4.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F164D #167F48
analogous
#7D167F #7F164D #7F1619
triadic
#7F164D #4D7F16 #164D7F
tetradic
#7F164D #7F7D16 #167F48 #16197F
square
#7F164D #7F7D16 #167F48 #16197F
split-complementary
#7F164D #197F16 #167F7D
monochromatic
#1A0510 #4B0D2D #7F164D #B31F6D #DC348C
Accessibility & contrast
On white
9.89
#7F164D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#7F164D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F164D
9.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F164D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F164D | 1.00 | 9.89 | 2.12 | 9.89 |
| #FFFFFF | 9.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C374E
Deuteranopia (green-blind)
#4A4A4B
Tritanopia (blue-blind)
#8A0630
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7f164d; /* rgb */ color: rgb(127, 22, 77); /* oklch */ color: oklch(40.2% 0.147 354.5);
Tailwind
colors: {
custom: {
50: '#a9607e',
500: '#7f164d',
950: '#000000',
},
}SCSS
$custom: #7f164d; $custom-light: #a9607e; $custom-dark: #000000;
JSON
{
"hex": "#7f164d",
"rgb": {
"r": 127,
"g": 22,
"b": 77
},
"hsl": {
"h": 328.571,
"s": 70.47,
"l": 29.216
},
"oklch": {
"l": 0.40248,
"c": 0.14658,
"h": 354.5
},
"luminance": 0.05622
}Semantic roles & 50–950 ramp
primary
#7F164D
secondary
#3DB476
accent
#ED903B
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C