#9F1757#9F1757
#9F1757 is a mid, vivid pink. Relative luminance 0.087; OKLCH L 46.6% C 0.174 H 359.2°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1757 |
|---|---|
| RGB | rgb(159, 23, 87) |
| HSL | hsl(332, 75%, 36%) |
| HSV | hsv(332, 86%, 62%) |
| CMYK | cmyk(0%, 85.5%, 45.3%, 37.6%) |
| CIE-LAB | lab(35.35, 56.61, -1.19) |
| CIE-LCH | lch(35.35, 56.62, 358.80°) |
| OKLab | oklab(46.56% 0.1743 -0.0024) |
| OKLCH | oklch(46.56% 0.174 359.2) |
| XYZ | xyz(16.3261, 8.6741, 9.8295) |
| Luminance | 0.0867 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 1.46
Dark Fuchsia
#9D0759
ΔE00 1.90
Deep Magenta
#A0025C
ΔE00 2.29
Berry
#990F4B
ΔE00 2.80
Mulberry
#920A4E
ΔE00 3.11
Dark Magenta
#960056
ΔE00 3.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1757 #179F5F
analogous
#9F179B #9F1757 #9F1B17
triadic
#9F1757 #579F17 #17579F
tetradic
#9F1757 #9B9F17 #179F5F #1B179F
square
#9F1757 #9B9F17 #179F5F #1B179F
split-complementary
#9F1757 #179F1B #179B9F
monochromatic
#34081C #6A0F3A #9F1757 #D41F74 #E54B94
Accessibility & contrast
On white
7.68
#9F1757 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.73
#9F1757 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1757
7.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1757 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1757 | 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)
#3A4358
Deuteranopia (green-blind)
#5E5C54
Tritanopia (blue-blind)
#AD0036
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9f1757; /* rgb */ color: rgb(159, 23, 87); /* oklch */ color: oklch(46.6% 0.174 359.2);
Tailwind
colors: {
custom: {
50: '#c16786',
500: '#9f1757',
950: '#000000',
},
}SCSS
$custom: #9f1757; $custom-light: #c16786; $custom-dark: #000000;
JSON
{
"hex": "#9f1757",
"rgb": {
"r": 159,
"g": 23,
"b": 87
},
"hsl": {
"h": 331.765,
"s": 74.725,
"l": 35.686
},
"oklch": {
"l": 0.46561,
"c": 0.17433,
"h": 359.2
},
"luminance": 0.08672
}Semantic roles & 50–950 ramp
primary
#9F1757
secondary
#4BC78D
accent
#F19936
background
#FCF6F8
surface
#F8EBEF
border
#D1C6CA
text
#13070B
muted
#827A7C