#7F174D#7F174D
#7F174D is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.3% C 0.146 H 354.6°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).
Color values
| HEX | #7F174D |
|---|---|
| RGB | rgb(127, 23, 77) |
| HSL | hsl(329, 69%, 29%) |
| HSV | hsv(329, 82%, 50%) |
| CMYK | cmyk(0%, 81.9%, 39.4%, 50.2%) |
| CIE-LAB | lab(28.54, 47.15, -5.42) |
| CIE-LCH | lch(28.54, 47.46, 353.44°) |
| OKLab | oklab(40.32% 0.145 -0.0137) |
| OKLCH | oklch(40.32% 0.146 354.6) |
| XYZ | xyz(10.3991, 5.6620, 7.5650) |
| Luminance | 0.0566 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 1.99
Reddish Purple
#910951
ΔE00 3.46
Wine (survey)
#80013F
ΔE00 3.82
Mulberry
#920A4E
ΔE00 3.97
Velvet
#750851
ΔE00 4.30
Dark Magenta
#960056
ΔE00 4.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F174D #177F49
analogous
#7D177F #7F174D #7F1719
triadic
#7F174D #4D7F17 #174D7F
tetradic
#7F174D #7F7D17 #177F49 #17197F
square
#7F174D #7F7D17 #177F49 #17197F
split-complementary
#7F174D #197F17 #177F7D
monochromatic
#1A0510 #4B0E2E #7F174D #B3206C #DB368B
Accessibility & contrast
On white
9.85
#7F174D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#7F174D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F174D
9.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F174D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F174D | 1.00 | 9.85 | 2.13 | 9.85 |
| #FFFFFF | 9.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D374E
Deuteranopia (green-blind)
#4A4A4B
Tritanopia (blue-blind)
#8A0830
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7f174d; /* rgb */ color: rgb(127, 23, 77); /* oklch */ color: oklch(40.3% 0.146 354.6);
Tailwind
colors: {
custom: {
50: '#a9617e',
500: '#7f174d',
950: '#000000',
},
}SCSS
$custom: #7f174d; $custom-light: #a9617e; $custom-dark: #000000;
JSON
{
"hex": "#7f174d",
"rgb": {
"r": 127,
"g": 23,
"b": 77
},
"hsl": {
"h": 328.846,
"s": 69.333,
"l": 29.412
},
"oklch": {
"l": 0.40323,
"c": 0.14562,
"h": 354.6
},
"luminance": 0.05661
}Semantic roles & 50–950 ramp
primary
#7F174D
secondary
#3EB477
accent
#EC913C
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C