#9F1751#9F1751
#9F1751 is a mid, vivid pink. Relative luminance 0.086; OKLCH L 46.4% C 0.172 H 2.3°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1751 |
|---|---|
| RGB | rgb(159, 23, 81) |
| HSL | hsl(334, 75%, 36%) |
| HSV | hsv(334, 86%, 62%) |
| CMYK | cmyk(0%, 85.5%, 49.1%, 37.6%) |
| CIE-LAB | lab(35.16, 56.07, 2.43) |
| CIE-LCH | lch(35.16, 56.12, 2.48°) |
| OKLab | oklab(46.36% 0.1723 0.0068) |
| OKLCH | oklch(46.36% 0.172 2.3) |
| XYZ | xyz(16.0911, 8.5801, 8.5918) |
| Luminance | 0.0858 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 1.67
Violet Red
#A50055
ΔE00 1.82
Purple Red
#990147
ΔE00 2.55
Dark Fuchsia
#9D0759
ΔE00 3.38
Mulberry
#920A4E
ΔE00 3.42
Deep Magenta
#A0025C
ΔE00 3.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1751 #179F65
analogous
#9F1795 #9F1751 #9F2117
triadic
#9F1751 #519F17 #17519F
tetradic
#9F1751 #959F17 #179F65 #21179F
square
#9F1751 #959F17 #179F65 #21179F
split-complementary
#9F1751 #179F21 #17959F
monochromatic
#34081B #6A0F36 #9F1751 #D41F6C #E54B8D
Accessibility & contrast
On white
7.73
#9F1751 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#9F1751 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1751
7.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1751 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1751 | 1.00 | 7.73 | 2.72 | 7.73 |
| #FFFFFF | 7.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.73 | 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: #9f1751; /* rgb */ color: rgb(159, 23, 81); /* oklch */ color: oklch(46.4% 0.172 2.3);
Tailwind
colors: {
custom: {
50: '#c16681',
500: '#9f1751',
950: '#000000',
},
}SCSS
$custom: #9f1751; $custom-light: #c16681; $custom-dark: #000000;
JSON
{
"hex": "#9f1751",
"rgb": {
"r": 159,
"g": 23,
"b": 81
},
"hsl": {
"h": 334.412,
"s": 74.725,
"l": 35.686
},
"oklch": {
"l": 0.46364,
"c": 0.17239,
"h": 2.3
},
"luminance": 0.08578
}Semantic roles & 50–950 ramp
primary
#9F1751
secondary
#4BC792
accent
#F1A236
background
#FCF6F7
surface
#F9EBEE
border
#D2C6C9
text
#13070A
muted
#827A7C