#9F1851#9F1851
#9F1851 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.4% C 0.172 H 2.4°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1851 |
|---|---|
| RGB | rgb(159, 24, 81) |
| HSL | hsl(335, 74%, 36%) |
| HSV | hsv(335, 85%, 62%) |
| CMYK | cmyk(0%, 84.9%, 49.1%, 37.6%) |
| CIE-LAB | lab(35.24, 55.84, 2.54) |
| CIE-LCH | lch(35.24, 55.90, 2.61°) |
| OKLab | oklab(46.42% 0.1715 0.0071) |
| OKLCH | oklch(46.42% 0.172 2.4) |
| XYZ | xyz(16.1113, 8.6206, 8.5985) |
| Luminance | 0.0862 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 1.72
Violet Red
#A50055
ΔE00 1.90
Purple Red
#990147
ΔE00 2.59
Dark Fuchsia
#9D0759
ΔE00 3.47
Mulberry
#920A4E
ΔE00 3.50
Deep Magenta
#A0025C
ΔE00 3.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1851 #189F66
analogous
#9F1894 #9F1851 #9F2318
triadic
#9F1851 #519F18 #18519F
tetradic
#9F1851 #949F18 #189F66 #23189F
square
#9F1851 #949F18 #189F66 #23189F
split-complementary
#9F1851 #189F23 #18949F
monochromatic
#35081B #6A1036 #9F1851 #D4206C #E44D8D
Accessibility & contrast
On white
7.71
#9F1851 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#9F1851 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1851
7.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1851 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1851 | 1.00 | 7.71 | 2.72 | 7.71 |
| #FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C4252
Deuteranopia (green-blind)
#605C4E
Tritanopia (blue-blind)
#AD0033
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9f1851; /* rgb */ color: rgb(159, 24, 81); /* oklch */ color: oklch(46.4% 0.172 2.4);
Tailwind
colors: {
custom: {
50: '#c16781',
500: '#9f1851',
950: '#000000',
},
}SCSS
$custom: #9f1851; $custom-light: #c16781; $custom-dark: #000000;
JSON
{
"hex": "#9f1851",
"rgb": {
"r": 159,
"g": 24,
"b": 81
},
"hsl": {
"h": 334.667,
"s": 73.77,
"l": 35.882
},
"oklch": {
"l": 0.46423,
"c": 0.17166,
"h": 2.4
},
"luminance": 0.08618
}Semantic roles & 50–950 ramp
primary
#9F1851
secondary
#4DC693
accent
#F0A237
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C