#9F183A#9F183A
#9F183A is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.8% C 0.168 H 14.0°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).
Color values
| HEX | #9F183A |
|---|---|
| RGB | rgb(159, 24, 58) |
| HSL | hsl(345, 74%, 36%) |
| HSV | hsv(345, 85%, 62%) |
| CMYK | cmyk(0%, 84.9%, 63.5%, 37.6%) |
| CIE-LAB | lab(34.67, 54.14, 16.70) |
| CIE-LCH | lch(34.67, 56.66, 17.14°) |
| OKLab | oklab(45.81% 0.1626 0.0406) |
| OKLCH | oklch(45.81% 0.168 14) |
| XYZ | xyz(15.3901, 8.3321, 4.8001) |
| Luminance | 0.0833 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 2.21
Rouge
#AB1239
ΔE00 2.54
Raspberry (survey)
#B00149
ΔE00 4.79
Red Wine
#8C0034
ΔE00 5.01
Purplish Red
#B0054B
ΔE00 5.16
Rose Red
#BE013C
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F183A #189F7D
analogous
#9F187D #9F183A #9F3918
triadic
#9F183A #3A9F18 #183A9F
tetradic
#9F183A #7D9F18 #189F7D #39189F
square
#9F183A #7D9F18 #189F7D #39189F
split-complementary
#9F183A #189F39 #187D9F
monochromatic
#350813 #6A1027 #9F183A #D4204D #E44D73
Accessibility & contrast
On white
7.88
#9F183A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#9F183A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F183A
7.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F183A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F183A | 1.00 | 7.88 | 2.67 | 7.88 |
| #FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#42403A
Deuteranopia (green-blind)
#635B36
Tritanopia (blue-blind)
#AF0028
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #9f183a; /* rgb */ color: rgb(159, 24, 58); /* oklch */ color: oklch(45.8% 0.168 14.0);
Tailwind
colors: {
custom: {
50: '#c3666f',
500: '#9f183a',
950: '#000000',
},
}SCSS
$custom: #9f183a; $custom-light: #c3666f; $custom-dark: #000000;
JSON
{
"hex": "#9f183a",
"rgb": {
"r": 159,
"g": 24,
"b": 58
},
"hsl": {
"h": 344.889,
"s": 73.77,
"l": 35.882
},
"oklch": {
"l": 0.45811,
"c": 0.16762,
"h": 14
},
"luminance": 0.0833
}Semantic roles & 50–950 ramp
primary
#9F183A
secondary
#4DC6A8
accent
#F0C237
background
#FCF6F6
surface
#F9EBEC
border
#D2C6C7
text
#140707
muted
#827A7A