#9F1852#9F1852
#9F1852 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.5% C 0.172 H 1.9°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1852 |
|---|---|
| RGB | rgb(159, 24, 82) |
| HSL | hsl(334, 74%, 36%) |
| HSV | hsv(334, 85%, 62%) |
| CMYK | cmyk(0%, 84.9%, 48.4%, 37.6%) |
| CIE-LAB | lab(35.27, 55.93, 1.94) |
| CIE-LCH | lch(35.27, 55.96, 1.99°) |
| OKLab | oklab(46.46% 0.1719 0.0056) |
| OKLCH | oklch(46.46% 0.172 1.9) |
| XYZ | xyz(16.1491, 8.6357, 8.7975) |
| Luminance | 0.0863 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 1.72
Berry
#990F4B
ΔE00 1.83
Purple Red
#990147
ΔE00 2.74
Dark Fuchsia
#9D0759
ΔE00 3.20
Mulberry
#920A4E
ΔE00 3.38
Deep Magenta
#A0025C
ΔE00 3.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1852 #189F65
analogous
#9F1895 #9F1852 #9F2118
triadic
#9F1852 #529F18 #18529F
tetradic
#9F1852 #959F18 #189F65 #21189F
square
#9F1852 #959F18 #189F65 #21189F
split-complementary
#9F1852 #189F21 #18959F
monochromatic
#35081B #6A1037 #9F1852 #D4206D #E44D8E
Accessibility & contrast
On white
7.70
#9F1852 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#9F1852 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1852
7.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1852 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1852 | 1.00 | 7.70 | 2.73 | 7.70 |
| #FFFFFF | 7.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C4253
Deuteranopia (green-blind)
#605C4F
Tritanopia (blue-blind)
#AD0033
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9f1852; /* rgb */ color: rgb(159, 24, 82); /* oklch */ color: oklch(46.5% 0.172 1.9);
Tailwind
colors: {
custom: {
50: '#c16782',
500: '#9f1852',
950: '#000000',
},
}SCSS
$custom: #9f1852; $custom-light: #c16782; $custom-dark: #000000;
JSON
{
"hex": "#9f1852",
"rgb": {
"r": 159,
"g": 24,
"b": 82
},
"hsl": {
"h": 334.222,
"s": 73.77,
"l": 35.882
},
"oklch": {
"l": 0.46455,
"c": 0.17196,
"h": 1.9
},
"luminance": 0.08633
}Semantic roles & 50–950 ramp
primary
#9F1852
secondary
#4DC692
accent
#F0A137
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C