#9F174F#9F174F
#9F174F is a mid, vivid pink. Relative luminance 0.085; OKLCH L 46.3% C 0.172 H 3.3°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).
Color values
| HEX | #9F174F |
|---|---|
| RGB | rgb(159, 23, 79) |
| HSL | hsl(335, 75%, 36%) |
| HSV | hsv(335, 86%, 62%) |
| CMYK | cmyk(0%, 85.5%, 50.3%, 37.6%) |
| CIE-LAB | lab(35.10, 55.90, 3.64) |
| CIE-LCH | lch(35.10, 56.02, 3.73°) |
| OKLab | oklab(46.3% 0.1715 0.0099) |
| OKLCH | oklch(46.3% 0.172 3.3) |
| XYZ | xyz(16.0172, 8.5505, 8.2026) |
| Luminance | 0.0855 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 1.57
Violet Red
#A50055
ΔE00 2.25
Purple Red
#990147
ΔE00 2.31
Mulberry
#920A4E
ΔE00 3.71
Dark Fuchsia
#9D0759
ΔE00 3.94
Purplish Red
#B0054B
ΔE00 4.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F174F #179F67
analogous
#9F1793 #9F174F #9F2317
triadic
#9F174F #4F9F17 #174F9F
tetradic
#9F174F #939F17 #179F67 #23179F
square
#9F174F #939F17 #179F67 #23179F
split-complementary
#9F174F #179F23 #17939F
monochromatic
#34081A #6A0F34 #9F174F #D41F6A #E54B8B
Accessibility & contrast
On white
7.75
#9F174F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.71
#9F174F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F174F
7.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F174F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F174F | 1.00 | 7.75 | 2.71 | 7.75 |
| #FFFFFF | 7.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C4250
Deuteranopia (green-blind)
#605C4C
Tritanopia (blue-blind)
#AE0032
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9f174f; /* rgb */ color: rgb(159, 23, 79); /* oklch */ color: oklch(46.3% 0.172 3.3);
Tailwind
colors: {
custom: {
50: '#c16680',
500: '#9f174f',
950: '#000000',
},
}SCSS
$custom: #9f174f; $custom-light: #c16680; $custom-dark: #000000;
JSON
{
"hex": "#9f174f",
"rgb": {
"r": 159,
"g": 23,
"b": 79
},
"hsl": {
"h": 335.294,
"s": 74.725,
"l": 35.686
},
"oklch": {
"l": 0.46302,
"c": 0.17182,
"h": 3.3
},
"luminance": 0.08548
}Semantic roles & 50–950 ramp
primary
#9F174F
secondary
#4BC794
accent
#F1A436
background
#FCF6F7
surface
#F9EBEE
border
#D2C6C9
text
#13070A
muted
#827A7C