#9D174D#9D174D
#9D174D is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.9% C 0.170 H 3.8°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).
Color values
| HEX | #9D174D |
|---|---|
| RGB | rgb(157, 23, 77) |
| HSL | hsl(336, 74%, 35%) |
| HSV | hsv(336, 85%, 62%) |
| CMYK | cmyk(0%, 85.4%, 51%, 38.4%) |
| CIE-LAB | lab(34.64, 55.21, 4.22) |
| CIE-LCH | lch(34.64, 55.37, 4.37°) |
| OKLab | oklab(45.87% 0.1693 0.0113) |
| OKLCH | oklch(45.87% 0.17 3.8) |
| XYZ | xyz(15.5520, 8.3189, 7.8065) |
| Luminance | 0.0832 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 1.26
Purple Red
#990147
ΔE00 1.94
Violet Red
#A50055
ΔE00 2.66
Mulberry
#920A4E
ΔE00 3.62
Purplish Red
#B0054B
ΔE00 4.10
Dark Fuchsia
#9D0759
ΔE00 4.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D174D #179D67
analogous
#9D1790 #9D174D #9D2417
triadic
#9D174D #4D9D17 #174D9D
tetradic
#9D174D #909D17 #179D67 #24179D
square
#9D174D #909D17 #179D67 #24179D
split-complementary
#9D174D #179D24 #17909D
monochromatic
#320719 #680F33 #9D174D #D21F67 #E44A88
Accessibility & contrast
On white
7.88
#9D174D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#9D174D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D174D
7.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D174D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D174D | 1.00 | 7.88 | 2.66 | 7.88 |
| #FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C414E
Deuteranopia (green-blind)
#5F5B4A
Tritanopia (blue-blind)
#AB0030
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #9d174d; /* rgb */ color: rgb(157, 23, 77); /* oklch */ color: oklch(45.9% 0.170 3.8);
Tailwind
colors: {
custom: {
50: '#c0667e',
500: '#9d174d',
950: '#000000',
},
}SCSS
$custom: #9d174d; $custom-light: #c0667e; $custom-dark: #000000;
JSON
{
"hex": "#9d174d",
"rgb": {
"r": 157,
"g": 23,
"b": 77
},
"hsl": {
"h": 335.821,
"s": 74.444,
"l": 35.294
},
"oklch": {
"l": 0.4587,
"c": 0.16968,
"h": 3.8
},
"luminance": 0.08317
}Semantic roles & 50–950 ramp
primary
#9D174D
secondary
#4AC694
accent
#F1A637
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B