#9F183D#9F183D
#9F183D is a mid, vivid pink. Relative luminance 0.084; OKLCH L 45.9% C 0.168 H 12.5°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).
Color values
| HEX | #9F183D |
|---|---|
| RGB | rgb(159, 24, 61) |
| HSL | hsl(344, 74%, 36%) |
| HSV | hsv(344, 85%, 62%) |
| CMYK | cmyk(0%, 84.9%, 61.6%, 37.6%) |
| CIE-LAB | lab(34.73, 54.33, 14.84) |
| CIE-LCH | lch(34.73, 56.32, 15.27°) |
| OKLab | oklab(45.88% 0.1638 0.0365) |
| OKLCH | oklch(45.88% 0.168 12.5) |
| XYZ | xyz(15.4687, 8.3635, 5.2138) |
| Luminance | 0.0836 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 1.73
Rouge
#AB1239
ΔE00 3.16
Raspberry (survey)
#B00149
ΔE00 4.06
Purplish Red
#B0054B
ΔE00 4.39
Red Wine
#8C0034
ΔE00 4.72
Purple Red
#990147
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F183D #189F7A
analogous
#9F1880 #9F183D #9F3718
triadic
#9F183D #3D9F18 #183D9F
tetradic
#9F183D #809F18 #189F7A #37189F
square
#9F183D #809F18 #189F7A #37189F
split-complementary
#9F183D #189F37 #18809F
monochromatic
#350814 #6A1029 #9F183D #D42051 #E44D77
Accessibility & contrast
On white
7.86
#9F183D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#9F183D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F183D
7.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F183D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F183D | 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)
#41403D
Deuteranopia (green-blind)
#635B39
Tritanopia (blue-blind)
#AF0029
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9f183d; /* rgb */ color: rgb(159, 24, 61); /* oklch */ color: oklch(45.9% 0.168 12.5);
Tailwind
colors: {
custom: {
50: '#c36672',
500: '#9f183d',
950: '#000000',
},
}SCSS
$custom: #9f183d; $custom-light: #c36672; $custom-dark: #000000;
JSON
{
"hex": "#9f183d",
"rgb": {
"r": 159,
"g": 24,
"b": 61
},
"hsl": {
"h": 343.556,
"s": 73.77,
"l": 35.882
},
"oklch": {
"l": 0.45878,
"c": 0.16785,
"h": 12.5
},
"luminance": 0.08361
}Semantic roles & 50–950 ramp
primary
#9F183D
secondary
#4DC6A5
accent
#F0BE37
background
#FCF6F6
surface
#F9EBEC
border
#D2C6C7
text
#140707
muted
#827A7A