#9F165F#9F165F
#9F165F is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.8% C 0.178 H 355.1°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).
Color values
| HEX | #9F165F |
|---|---|
| RGB | rgb(159, 22, 95) |
| HSL | hsl(328, 76%, 35%) |
| HSV | hsv(328, 86%, 62%) |
| CMYK | cmyk(0%, 86.2%, 40.3%, 37.6%) |
| CIE-LAB | lab(35.54, 57.60, -6.05) |
| CIE-LCH | lch(35.54, 57.92, 354.00°) |
| OKLab | oklab(46.79% 0.1775 -0.0152) |
| OKLCH | oklch(46.79% 0.178 355.1) |
| XYZ | xyz(16.6518, 8.7732, 11.6408) |
| Luminance | 0.0877 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Deep Magenta
#A0025C
ΔE00 1.18
Dark Fuchsia
#9D0759
ΔE00 1.48
Dark Magenta
#960056
ΔE00 2.76
Violet Red
#A50055
ΔE00 3.06
Red Violet
#9E0168
ΔE00 3.25
Reddish Purple
#910951
ΔE00 3.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F165F #169F56
analogous
#9A169F #9F165F #9F161A
triadic
#9F165F #5F9F16 #165F9F
tetradic
#9F165F #9F9A16 #169F56 #161A9F
square
#9F165F #9F9A16 #169F56 #161A9F
split-complementary
#9F165F #1A9F16 #169F9A
monochromatic
#33071F #690F3F #9F165F #D51D7F #E64A9D
Accessibility & contrast
On white
7.62
#9F165F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#9F165F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F165F
7.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F165F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F165F | 1.00 | 7.62 | 2.75 | 7.62 |
| #FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#374461
Deuteranopia (green-blind)
#5C5C5C
Tritanopia (blue-blind)
#AC003A
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #9f165f; /* rgb */ color: rgb(159, 22, 95); /* oklch */ color: oklch(46.8% 0.178 355.1);
Tailwind
colors: {
custom: {
50: '#c1678c',
500: '#9f165f',
950: '#000000',
},
}SCSS
$custom: #9f165f; $custom-light: #c1678c; $custom-dark: #000000;
JSON
{
"hex": "#9f165f",
"rgb": {
"r": 159,
"g": 22,
"b": 95
},
"hsl": {
"h": 328.029,
"s": 75.691,
"l": 35.49
},
"oklch": {
"l": 0.46792,
"c": 0.17814,
"h": 355.1
},
"luminance": 0.08771
}Semantic roles & 50–950 ramp
primary
#9F165F
secondary
#4AC784
accent
#F28E36
background
#FCF6F8
surface
#F8EBF0
border
#D1C6CB
text
#13070C
muted
#827A7D