#9F1958#9F1958
#9F1958 is a mid, vivid pink. Relative luminance 0.088; OKLCH L 46.7% C 0.173 H 358.9°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1958 |
|---|---|
| RGB | rgb(159, 25, 88) |
| HSL | hsl(332, 73%, 36%) |
| HSV | hsv(332, 84%, 62%) |
| CMYK | cmyk(0%, 84.3%, 44.7%, 37.6%) |
| CIE-LAB | lab(35.54, 56.24, -1.55) |
| CIE-LCH | lch(35.54, 56.26, 358.42°) |
| OKLab | oklab(46.71% 0.1731 -0.0034) |
| OKLCH | oklch(46.71% 0.173 358.9) |
| XYZ | xyz(16.4085, 8.7730, 10.0599) |
| Luminance | 0.0877 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 1.65
Dark Fuchsia
#9D0759
ΔE00 1.91
Deep Magenta
#A0025C
ΔE00 2.25
Berry
#990F4B
ΔE00 3.03
Mulberry
#920A4E
ΔE00 3.26
Dark Magenta
#960056
ΔE00 3.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1958 #199F60
analogous
#9F199B #9F1958 #9F1D19
triadic
#9F1958 #589F19 #19589F
tetradic
#9F1958 #9B9F19 #199F60 #1D199F
square
#9F1958 #9B9F19 #199F60 #1D199F
split-complementary
#9F1958 #199F1D #199B9F
monochromatic
#35081D #6A113B #9F1958 #D42175 #E34F95
Accessibility & contrast
On white
7.62
#9F1958 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.75
#9F1958 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1958
7.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1958 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1958 | 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)
#3B4459
Deuteranopia (green-blind)
#5F5D55
Tritanopia (blue-blind)
#AD0037
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #9f1958; /* rgb */ color: rgb(159, 25, 88); /* oklch */ color: oklch(46.7% 0.173 358.9);
Tailwind
colors: {
custom: {
50: '#c16787',
500: '#9f1958',
950: '#000000',
},
}SCSS
$custom: #9f1958; $custom-light: #c16787; $custom-dark: #000000;
JSON
{
"hex": "#9f1958",
"rgb": {
"r": 159,
"g": 25,
"b": 88
},
"hsl": {
"h": 331.791,
"s": 72.826,
"l": 36.078
},
"oklch": {
"l": 0.46714,
"c": 0.17317,
"h": 358.9
},
"luminance": 0.08771
}Semantic roles & 50–950 ramp
primary
#9F1958
secondary
#4EC68D
accent
#F09938
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070B
muted
#827A7C