#9F1540#9F1540
#9F1540 is a mid, vivid pink. Relative luminance 0.083; OKLCH L 45.8% C 0.170 H 10.7°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1540 |
|---|---|
| RGB | rgb(159, 21, 64) |
| HSL | hsl(341, 77%, 35%) |
| HSV | hsv(341, 87%, 62%) |
| CMYK | cmyk(0%, 86.8%, 59.7%, 37.6%) |
| CIE-LAB | lab(34.56, 55.21, 12.65) |
| CIE-LCH | lch(34.56, 56.64, 12.91°) |
| OKLab | oklab(45.78% 0.1672 0.0315) |
| OKLCH | oklch(45.78% 0.17 10.7) |
| XYZ | xyz(15.4933, 8.2798, 5.6319) |
| Luminance | 0.0828 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 1.59
Raspberry (survey)
#B00149
ΔE00 3.39
Purplish Red
#B0054B
ΔE00 3.65
Rouge
#AB1239
ΔE00 4.16
Purple Red
#990147
ΔE00 4.42
Red Wine
#8C0034
ΔE00 4.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1540 #159F74
analogous
#9F1585 #9F1540 #9F2F15
triadic
#9F1540 #409F15 #15409F
tetradic
#9F1540 #859F15 #159F74 #2F159F
square
#9F1540 #859F15 #159F74 #2F159F
split-complementary
#9F1540 #159F2F #15859F
monochromatic
#330714 #690E2A #9F1540 #D51C56 #E74879
Accessibility & contrast
On white
7.91
#9F1540 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#9F1540 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1540
7.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1540 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1540 | 1.00 | 7.91 | 2.66 | 7.91 |
| #FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F4041
Deuteranopia (green-blind)
#625B3C
Tritanopia (blue-blind)
#AE0029
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #9f1540; /* rgb */ color: rgb(159, 21, 64); /* oklch */ color: oklch(45.8% 0.170 10.7);
Tailwind
colors: {
custom: {
50: '#c26574',
500: '#9f1540',
950: '#000000',
},
}SCSS
$custom: #9f1540; $custom-light: #c26574; $custom-dark: #000000;
JSON
{
"hex": "#9f1540",
"rgb": {
"r": 159,
"g": 21,
"b": 64
},
"hsl": {
"h": 341.304,
"s": 76.667,
"l": 35.294
},
"oklch": {
"l": 0.45775,
"c": 0.17018,
"h": 10.7
},
"luminance": 0.08277
}Semantic roles & 50–950 ramp
primary
#9F1540
secondary
#48C8A0
accent
#F3B835
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140708
muted
#827A7B