#7F164F#7F164F
#7F164F is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.3% C 0.148 H 353.2°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).
Color values
| HEX | #7F164F |
|---|---|
| RGB | rgb(127, 22, 79) |
| HSL | hsl(327, 70%, 29%) |
| HSV | hsv(327, 83%, 50%) |
| CMYK | cmyk(0%, 82.7%, 37.8%, 50.2%) |
| CIE-LAB | lab(28.52, 47.66, -6.79) |
| CIE-LCH | lch(28.52, 48.14, 351.89°) |
| OKLab | oklab(40.33% 0.1465 -0.0174) |
| OKLCH | oklch(40.33% 0.148 353.2) |
| XYZ | xyz(10.4513, 5.6517, 7.9361) |
| Luminance | 0.0565 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 2.45
Reddish Purple
#910951
ΔE00 3.64
Velvet
#750851
ΔE00 3.75
Mulberry
#920A4E
ΔE00 4.29
Dark Magenta
#960056
ΔE00 4.30
Wine (survey)
#80013F
ΔE00 4.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F164F #167F46
analogous
#7B167F #7F164F #7F161A
triadic
#7F164F #4F7F16 #164F7F
tetradic
#7F164F #7F7B16 #167F46 #161A7F
square
#7F164F #7F7B16 #167F46 #161A7F
split-complementary
#7F164F #1A7F16 #167F7B
monochromatic
#1A0510 #4B0D2F #7F164F #B31F6F #DC348F
Accessibility & contrast
On white
9.86
#7F164F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#7F164F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F164F
9.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F164F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F164F | 1.00 | 9.86 | 2.13 | 9.86 |
| #FFFFFF | 9.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C3750
Deuteranopia (green-blind)
#494A4D
Tritanopia (blue-blind)
#890831
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7f164f; /* rgb */ color: rgb(127, 22, 79); /* oklch */ color: oklch(40.3% 0.148 353.2);
Tailwind
colors: {
custom: {
50: '#a96080',
500: '#7f164f',
950: '#000000',
},
}SCSS
$custom: #7f164f; $custom-light: #a96080; $custom-dark: #000000;
JSON
{
"hex": "#7f164f",
"rgb": {
"r": 127,
"g": 22,
"b": 79
},
"hsl": {
"h": 327.429,
"s": 70.47,
"l": 29.216
},
"oklch": {
"l": 0.40328,
"c": 0.14752,
"h": 353.2
},
"luminance": 0.0565
}Semantic roles & 50–950 ramp
primary
#7F164F
secondary
#3DB473
accent
#ED8C3B
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C