#9F1151#9F1151
#9F1151 is a mid, vivid pink. Relative luminance 0.084; OKLCH L 46.1% C 0.176 H 1.7°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1151 |
|---|---|
| RGB | rgb(159, 17, 81) |
| HSL | hsl(333, 81%, 35%) |
| HSV | hsv(333, 89%, 62%) |
| CMYK | cmyk(0%, 89.3%, 49.1%, 37.6%) |
| CIE-LAB | lab(34.74, 57.29, 1.81) |
| CIE-LCH | lch(34.74, 57.32, 1.81°) |
| OKLab | oklab(46.05% 0.1762 0.0052) |
| OKLCH | oklch(46.05% 0.176 1.7) |
| XYZ | xyz(15.9852, 8.3682, 8.5565) |
| Luminance | 0.0837 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 1.43
Berry
#990F4B
ΔE00 1.54
Purple Red
#990147
ΔE00 2.39
Dark Fuchsia
#9D0759
ΔE00 2.95
Mulberry
#920A4E
ΔE00 3.02
Deep Magenta
#A0025C
ΔE00 3.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1151 #119F5F
analogous
#9F1198 #9F1151 #9F1811
triadic
#9F1151 #519F11 #11519F
tetradic
#9F1151 #989F11 #119F5F #18119F
square
#9F1151 #989F11 #119F5F #18119F
split-complementary
#9F1151 #119F18 #11989F
monochromatic
#300519 #680B35 #9F1151 #D6176D #EB408D
Accessibility & contrast
On white
7.86
#9F1151 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#9F1151 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1151
7.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1151 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1151 | 1.00 | 7.86 | 2.67 | 7.86 |
| #FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A4152
Deuteranopia (green-blind)
#5F5B4E
Tritanopia (blue-blind)
#AD0031
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9f1151; /* rgb */ color: rgb(159, 17, 81); /* oklch */ color: oklch(46.1% 0.176 1.7);
Tailwind
colors: {
custom: {
50: '#c26581',
500: '#9f1151',
950: '#000000',
},
}SCSS
$custom: #9f1151; $custom-light: #c26581; $custom-dark: #000000;
JSON
{
"hex": "#9f1151",
"rgb": {
"r": 159,
"g": 17,
"b": 81
},
"hsl": {
"h": 332.958,
"s": 80.682,
"l": 34.51
},
"oklch": {
"l": 0.46054,
"c": 0.1763,
"h": 1.7
},
"luminance": 0.08366
}Semantic roles & 50–950 ramp
primary
#9F1151
secondary
#42CA8D
accent
#F79E31
background
#FCF6F7
surface
#F9EBEE
border
#D2C6C9
text
#14070A
muted
#827A7C