#9F1240#9F1240
#9F1240 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.6% C 0.172 H 10.3°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1240 |
|---|---|
| RGB | rgb(159, 18, 64) |
| HSL | hsl(340, 80%, 35%) |
| HSV | hsv(340, 89%, 62%) |
| CMYK | cmyk(0%, 88.7%, 59.7%, 37.6%) |
| CIE-LAB | lab(34.35, 55.81, 12.36) |
| CIE-LCH | lch(34.35, 57.17, 12.49°) |
| OKLab | oklab(45.62% 0.1692 0.0308) |
| OKLCH | oklch(45.62% 0.172 10.3) |
| XYZ | xyz(15.4414, 8.1761, 5.6146) |
| Luminance | 0.0817 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 1.50
Raspberry (survey)
#B00149
ΔE00 3.34
Purplish Red
#B0054B
ΔE00 3.59
Purple Red
#990147
ΔE00 4.16
Red Wine
#8C0034
ΔE00 4.33
Rouge
#AB1239
ΔE00 4.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1240 #129F71
analogous
#9F1286 #9F1240 #9F2B12
triadic
#9F1240 #409F12 #12409F
tetradic
#9F1240 #869F12 #129F71 #2B129F
square
#9F1240 #869F12 #129F71 #2B129F
split-complementary
#9F1240 #129F2B #12869F
monochromatic
#310614 #680C2A #9F1240 #D61856 #EA4279
Accessibility & contrast
On white
7.97
#9F1240 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#9F1240 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1240
7.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1240 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1240 | 1.00 | 7.97 | 2.63 | 7.97 |
| #FFFFFF | 7.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E3F41
Deuteranopia (green-blind)
#625B3C
Tritanopia (blue-blind)
#AE0028
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #9f1240; /* rgb */ color: rgb(159, 18, 64); /* oklch */ color: oklch(45.6% 0.172 10.3);
Tailwind
colors: {
custom: {
50: '#c36574',
500: '#9f1240',
950: '#000000',
},
}SCSS
$custom: #9f1240; $custom-light: #c36574; $custom-dark: #000000;
JSON
{
"hex": "#9f1240",
"rgb": {
"r": 159,
"g": 18,
"b": 64
},
"hsl": {
"h": 340.426,
"s": 79.661,
"l": 34.706
},
"oklch": {
"l": 0.4562,
"c": 0.172,
"h": 10.3
},
"luminance": 0.08174
}Semantic roles & 50–950 ramp
primary
#9F1240
secondary
#43CA9E
accent
#F6B632
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140608
muted
#827A7B