#9F165D#9F165D
#9F165D is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.7% C 0.177 H 356.1°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).
Color values
| HEX | #9F165D |
|---|---|
| RGB | rgb(159, 22, 93) |
| HSL | hsl(329, 76%, 35%) |
| HSV | hsv(329, 86%, 62%) |
| CMYK | cmyk(0%, 86.2%, 41.5%, 37.6%) |
| CIE-LAB | lab(35.47, 57.40, -4.87) |
| CIE-LCH | lch(35.47, 57.61, 355.15°) |
| OKLab | oklab(46.72% 0.1769 -0.0121) |
| OKLCH | oklch(46.72% 0.177 356.1) |
| XYZ | xyz(16.5620, 8.7373, 11.1681) |
| Luminance | 0.0873 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Magenta
#A0025C
ΔE00 1.16
Dark Fuchsia
#9D0759
ΔE00 1.25
Violet Red
#A50055
ΔE00 2.59
Dark Magenta
#960056
ΔE00 2.70
Reddish Purple
#910951
ΔE00 3.42
Mulberry
#920A4E
ΔE00 3.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F165D #169F58
analogous
#9C169F #9F165D #9F1618
triadic
#9F165D #5D9F16 #165D9F
tetradic
#9F165D #9F9C16 #169F58 #16189F
square
#9F165D #9F9C16 #169F58 #16189F
split-complementary
#9F165D #189F16 #169F9C
monochromatic
#33071E #690F3E #9F165D #D51D7C #E64A9B
Accessibility & contrast
On white
7.64
#9F165D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#9F165D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F165D
7.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F165D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F165D | 1.00 | 7.64 | 2.75 | 7.64 |
| #FFFFFF | 7.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#37435F
Deuteranopia (green-blind)
#5D5C5A
Tritanopia (blue-blind)
#AC0039
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9f165d; /* rgb */ color: rgb(159, 22, 93); /* oklch */ color: oklch(46.7% 0.177 356.1);
Tailwind
colors: {
custom: {
50: '#c1678a',
500: '#9f165d',
950: '#000000',
},
}SCSS
$custom: #9f165d; $custom-light: #c1678a; $custom-dark: #000000;
JSON
{
"hex": "#9f165d",
"rgb": {
"r": 159,
"g": 22,
"b": 93
},
"hsl": {
"h": 328.905,
"s": 75.691,
"l": 35.49
},
"oklch": {
"l": 0.46718,
"c": 0.17731,
"h": 356.1
},
"luminance": 0.08735
}Semantic roles & 50–950 ramp
primary
#9F165D
secondary
#4AC786
accent
#F29036
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#13070B
muted
#827A7C