#9F1F5D#9F1F5D
#9F1F5D is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.3% C 0.170 H 356.9°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1F5D |
|---|---|
| RGB | rgb(159, 31, 93) |
| HSL | hsl(331, 67%, 37%) |
| HSV | hsv(331, 81%, 62%) |
| CMYK | cmyk(0%, 80.5%, 41.5%, 37.6%) |
| CIE-LAB | lab(36.26, 55.16, -3.71) |
| CIE-LCH | lch(36.26, 55.28, 356.15°) |
| OKLab | oklab(47.29% 0.1697 -0.0091) |
| OKLCH | oklch(47.29% 0.17 356.9) |
| XYZ | xyz(16.7651, 9.1434, 11.2358) |
| Luminance | 0.0914 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Fuchsia
#9D0759
ΔE00 2.11
Deep Magenta
#A0025C
ΔE00 2.17
Violet Red
#A50055
ΔE00 2.65
Dark Magenta
#960056
ΔE00 3.51
Reddish Purple
#910951
ΔE00 3.96
Mulberry
#920A4E
ΔE00 4.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1F5D #1F9F61
analogous
#9F1F9D #9F1F5D #9F211F
triadic
#9F1F5D #5D9F1F #1F5D9F
tetradic
#9F1F5D #9D9F1F #1F9F61 #211F9F
square
#9F1F5D #9D9F1F #1F9F61 #211F9F
split-complementary
#9F1F5D #1F9F21 #1F9D9F
monochromatic
#390B21 #6C153F #9F1F5D #D2297B #DF5A9A
Accessibility & contrast
On white
7.43
#9F1F5D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#9F1F5D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1F5D
7.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1F5D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1F5D | 1.00 | 7.43 | 2.83 | 7.43 |
| #FFFFFF | 7.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C465E
Deuteranopia (green-blind)
#5F5E5A
Tritanopia (blue-blind)
#AC063B
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #9f1f5d; /* rgb */ color: rgb(159, 31, 93); /* oklch */ color: oklch(47.3% 0.170 356.9);
Tailwind
colors: {
custom: {
50: '#c1698a',
500: '#9f1f5d',
950: '#000000',
},
}SCSS
$custom: #9f1f5d; $custom-light: #c1698a; $custom-dark: #000000;
JSON
{
"hex": "#9f1f5d",
"rgb": {
"r": 159,
"g": 31,
"b": 93
},
"hsl": {
"h": 330.938,
"s": 67.368,
"l": 37.255
},
"oklch": {
"l": 0.4729,
"c": 0.16993,
"h": 356.9
},
"luminance": 0.09141
}Semantic roles & 50–950 ramp
primary
#9F1F5D
secondary
#57C38F
accent
#EA973E
background
#FCF6F8
surface
#F8ECF0
border
#D1C7CB
text
#13070B
muted
#827A7C