#9D174B#9D174B
#9D174B is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.8% C 0.169 H 4.9°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).
Color values
| HEX | #9D174B |
|---|---|
| RGB | rgb(157, 23, 75) |
| HSL | hsl(337, 74%, 35%) |
| HSV | hsv(337, 85%, 62%) |
| CMYK | cmyk(0%, 85.4%, 52.2%, 38.4%) |
| CIE-LAB | lab(34.58, 55.04, 5.44) |
| CIE-LCH | lch(34.58, 55.31, 5.65°) |
| OKLab | oklab(45.81% 0.1686 0.0143) |
| OKLCH | oklch(45.81% 0.169 4.9) |
| XYZ | xyz(15.4825, 8.2911, 7.4403) |
| Luminance | 0.0829 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 1.55
Purple Red
#990147
ΔE00 1.94
Violet Red
#A50055
ΔE00 3.17
Purplish Red
#B0054B
ΔE00 3.80
Raspberry (survey)
#B00149
ΔE00 3.99
Mulberry
#920A4E
ΔE00 4.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D174B #179D69
analogous
#9D178E #9D174B #9D2617
triadic
#9D174B #4B9D17 #174B9D
tetradic
#9D174B #8E9D17 #179D69 #26179D
square
#9D174B #8E9D17 #179D69 #26179D
split-complementary
#9D174B #179D26 #178E9D
monochromatic
#320718 #680F32 #9D174B #D21F65 #E44A86
Accessibility & contrast
On white
7.90
#9D174B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#9D174B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D174B
7.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D174B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D174B | 1.00 | 7.90 | 2.66 | 7.90 |
| #FFFFFF | 7.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D414C
Deuteranopia (green-blind)
#5F5B48
Tritanopia (blue-blind)
#AC002F
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #9d174b; /* rgb */ color: rgb(157, 23, 75); /* oklch */ color: oklch(45.8% 0.169 4.9);
Tailwind
colors: {
custom: {
50: '#c0667d',
500: '#9d174b',
950: '#000000',
},
}SCSS
$custom: #9d174b; $custom-light: #c0667d; $custom-dark: #000000;
JSON
{
"hex": "#9d174b",
"rgb": {
"r": 157,
"g": 23,
"b": 75
},
"hsl": {
"h": 336.716,
"s": 74.444,
"l": 35.294
},
"oklch": {
"l": 0.45811,
"c": 0.16917,
"h": 4.9
},
"luminance": 0.08289
}Semantic roles & 50–950 ramp
primary
#9D174B
secondary
#4AC696
accent
#F1A937
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#130709
muted
#827A7B