#9F1952#9F1952
#9F1952 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.5% C 0.171 H 2.0°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1952 |
|---|---|
| RGB | rgb(159, 25, 82) |
| HSL | hsl(334, 73%, 36%) |
| HSV | hsv(334, 84%, 62%) |
| CMYK | cmyk(0%, 84.3%, 48.4%, 37.6%) |
| CIE-LAB | lab(35.36, 55.69, 2.06) |
| CIE-LCH | lch(35.36, 55.73, 2.12°) |
| OKLab | oklab(46.52% 0.1711 0.0059) |
| OKLCH | oklch(46.52% 0.171 2) |
| XYZ | xyz(16.1701, 8.6777, 8.8045) |
| Luminance | 0.0867 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 1.81
Berry
#990F4B
ΔE00 1.87
Purple Red
#990147
ΔE00 2.78
Dark Fuchsia
#9D0759
ΔE00 3.30
Mulberry
#920A4E
ΔE00 3.47
Deep Magenta
#A0025C
ΔE00 3.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1952 #199F66
analogous
#9F1995 #9F1952 #9F2319
triadic
#9F1952 #529F19 #19529F
tetradic
#9F1952 #959F19 #199F66 #23199F
square
#9F1952 #959F19 #199F66 #23199F
split-complementary
#9F1952 #199F23 #19959F
monochromatic
#35081B #6A1137 #9F1952 #D4216D #E34F8E
Accessibility & contrast
On white
7.68
#9F1952 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#9F1952 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1952
7.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1952 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1952 | 1.00 | 7.68 | 2.73 | 7.68 |
| #FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C4353
Deuteranopia (green-blind)
#605C4F
Tritanopia (blue-blind)
#AD0034
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9f1952; /* rgb */ color: rgb(159, 25, 82); /* oklch */ color: oklch(46.5% 0.171 2.0);
Tailwind
colors: {
custom: {
50: '#c16782',
500: '#9f1952',
950: '#000000',
},
}SCSS
$custom: #9f1952; $custom-light: #c16782; $custom-dark: #000000;
JSON
{
"hex": "#9f1952",
"rgb": {
"r": 159,
"g": 25,
"b": 82
},
"hsl": {
"h": 334.478,
"s": 72.826,
"l": 36.078
},
"oklch": {
"l": 0.46516,
"c": 0.1712,
"h": 2
},
"luminance": 0.08675
}Semantic roles & 50–950 ramp
primary
#9F1952
secondary
#4EC693
accent
#F0A238
background
#FCF6F7
surface
#F8EBEE
border
#D1C6C9
text
#13070A
muted
#827A7C