#9D174C#9D174C
#9D174C is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.8% C 0.169 H 4.3°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).
Color values
| HEX | #9D174C |
|---|---|
| RGB | rgb(157, 23, 76) |
| HSL | hsl(336, 74%, 35%) |
| HSV | hsv(336, 85%, 62%) |
| CMYK | cmyk(0%, 85.4%, 51.6%, 38.4%) |
| CIE-LAB | lab(34.61, 55.12, 4.83) |
| CIE-LCH | lch(34.61, 55.34, 5.01°) |
| OKLab | oklab(45.84% 0.1689 0.0128) |
| OKLCH | oklch(45.84% 0.169 4.3) |
| XYZ | xyz(15.5170, 8.3049, 7.6220) |
| Luminance | 0.0830 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 1.38
Purple Red
#990147
ΔE00 1.91
Violet Red
#A50055
ΔE00 2.91
Mulberry
#920A4E
ΔE00 3.83
Purplish Red
#B0054B
ΔE00 3.94
Raspberry (survey)
#B00149
ΔE00 4.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D174C #179D68
analogous
#9D178F #9D174C #9D2517
triadic
#9D174C #4C9D17 #174C9D
tetradic
#9D174C #8F9D17 #179D68 #25179D
square
#9D174C #8F9D17 #179D68 #25179D
split-complementary
#9D174C #179D25 #178F9D
monochromatic
#320718 #680F32 #9D174C #D21F66 #E44A87
Accessibility & contrast
On white
7.89
#9D174C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#9D174C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D174C
7.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D174C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D174C | 1.00 | 7.89 | 2.66 | 7.89 |
| #FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C414D
Deuteranopia (green-blind)
#5F5B49
Tritanopia (blue-blind)
#AB0030
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #9d174c; /* rgb */ color: rgb(157, 23, 76); /* oklch */ color: oklch(45.8% 0.169 4.3);
Tailwind
colors: {
custom: {
50: '#c0667d',
500: '#9d174c',
950: '#000000',
},
}SCSS
$custom: #9d174c; $custom-light: #c0667d; $custom-dark: #000000;
JSON
{
"hex": "#9d174c",
"rgb": {
"r": 157,
"g": 23,
"b": 76
},
"hsl": {
"h": 336.269,
"s": 74.444,
"l": 35.294
},
"oklch": {
"l": 0.4584,
"c": 0.16941,
"h": 4.3
},
"luminance": 0.08303
}Semantic roles & 50–950 ramp
primary
#9D174C
secondary
#4AC695
accent
#F1A737
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B