#9F174B#9F174B
#9F174B is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.2% C 0.171 H 5.3°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).
Color values
| HEX | #9F174B |
|---|---|
| RGB | rgb(159, 23, 75) |
| HSL | hsl(337, 75%, 36%) |
| HSV | hsv(337, 86%, 62%) |
| CMYK | cmyk(0%, 85.5%, 52.8%, 37.6%) |
| CIE-LAB | lab(34.99, 55.57, 6.08) |
| CIE-LCH | lch(34.99, 55.90, 6.25°) |
| OKLab | oklab(46.18% 0.1701 0.0159) |
| OKLCH | oklch(46.18% 0.171 5.3) |
| XYZ | xyz(15.8760, 8.4940, 7.4588) |
| Luminance | 0.0849 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 1.99
Purple Red
#990147
ΔE00 2.28
Violet Red
#A50055
ΔE00 3.30
Purplish Red
#B0054B
ΔE00 3.34
Raspberry (survey)
#B00149
ΔE00 3.54
Cranberry
#9E003A
ΔE00 4.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F174B #179F6B
analogous
#9F178F #9F174B #9F2717
triadic
#9F174B #4B9F17 #174B9F
tetradic
#9F174B #8F9F17 #179F6B #27179F
square
#9F174B #8F9F17 #179F6B #27179F
split-complementary
#9F174B #179F27 #178F9F
monochromatic
#340819 #6A0F32 #9F174B #D41F64 #E54B86
Accessibility & contrast
On white
7.78
#9F174B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#9F174B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F174B
7.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F174B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F174B | 1.00 | 7.78 | 2.70 | 7.78 |
| #FFFFFF | 7.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D414C
Deuteranopia (green-blind)
#615C48
Tritanopia (blue-blind)
#AE002F
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9f174b; /* rgb */ color: rgb(159, 23, 75); /* oklch */ color: oklch(46.2% 0.171 5.3);
Tailwind
colors: {
custom: {
50: '#c2667d',
500: '#9f174b',
950: '#000000',
},
}SCSS
$custom: #9f174b; $custom-light: #c2667d; $custom-dark: #000000;
JSON
{
"hex": "#9f174b",
"rgb": {
"r": 159,
"g": 23,
"b": 75
},
"hsl": {
"h": 337.059,
"s": 74.725,
"l": 35.686
},
"oklch": {
"l": 0.46183,
"c": 0.17081,
"h": 5.3
},
"luminance": 0.08492
}Semantic roles & 50–950 ramp
primary
#9F174B
secondary
#4BC797
accent
#F1AA36
background
#FCF6F7
surface
#F9EBEE
border
#D2C6C9
text
#140709
muted
#827A7B