#9F1951#9F1951
#9F1951 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.5% C 0.171 H 2.5°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1951 |
|---|---|
| RGB | rgb(159, 25, 81) |
| HSL | hsl(335, 73%, 36%) |
| HSV | hsv(335, 84%, 62%) |
| CMYK | cmyk(0%, 84.3%, 49.1%, 37.6%) |
| CIE-LAB | lab(35.33, 55.60, 2.66) |
| CIE-LCH | lch(35.33, 55.67, 2.74°) |
| OKLab | oklab(46.48% 0.1707 0.0074) |
| OKLCH | oklch(46.48% 0.171 2.5) |
| XYZ | xyz(16.1323, 8.6625, 8.6055) |
| Luminance | 0.0866 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 1.77
Violet Red
#A50055
ΔE00 1.99
Purple Red
#990147
ΔE00 2.64
Dark Fuchsia
#9D0759
ΔE00 3.57
Mulberry
#920A4E
ΔE00 3.59
Deep Magenta
#A0025C
ΔE00 4.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1951 #199F67
analogous
#9F1994 #9F1951 #9F2419
triadic
#9F1951 #519F19 #19519F
tetradic
#9F1951 #949F19 #199F67 #24199F
square
#9F1951 #949F19 #199F67 #24199F
split-complementary
#9F1951 #199F24 #19949F
monochromatic
#35081B #6A1136 #9F1951 #D4216C #E34F8D
Accessibility & contrast
On white
7.69
#9F1951 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#9F1951 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1951
7.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1951 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1951 | 1.00 | 7.69 | 2.73 | 7.69 |
| #FFFFFF | 7.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D4352
Deuteranopia (green-blind)
#605C4E
Tritanopia (blue-blind)
#AD0033
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9f1951; /* rgb */ color: rgb(159, 25, 81); /* oklch */ color: oklch(46.5% 0.171 2.5);
Tailwind
colors: {
custom: {
50: '#c16781',
500: '#9f1951',
950: '#000000',
},
}SCSS
$custom: #9f1951; $custom-light: #c16781; $custom-dark: #000000;
JSON
{
"hex": "#9f1951",
"rgb": {
"r": 159,
"g": 25,
"b": 81
},
"hsl": {
"h": 334.925,
"s": 72.826,
"l": 36.078
},
"oklch": {
"l": 0.46484,
"c": 0.1709,
"h": 2.5
},
"luminance": 0.0866
}Semantic roles & 50–950 ramp
primary
#9F1951
secondary
#4EC694
accent
#F0A338
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C