#9F1340#9F1340
#9F1340 is a mid, vivid pink. Relative luminance 0.082; OKLCH L 45.7% C 0.171 H 10.4°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1340 |
|---|---|
| RGB | rgb(159, 19, 64) |
| HSL | hsl(341, 79%, 35%) |
| HSV | hsv(341, 88%, 62%) |
| CMYK | cmyk(0%, 88.1%, 59.7%, 37.6%) |
| CIE-LAB | lab(34.41, 55.62, 12.46) |
| CIE-LCH | lch(34.41, 57.00, 12.62°) |
| OKLab | oklab(45.67% 0.1686 0.031) |
| OKLCH | oklch(45.67% 0.171 10.4) |
| XYZ | xyz(15.4580, 8.2092, 5.6201) |
| Luminance | 0.0821 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Cranberry
#9E003A
ΔE00 1.52
Raspberry (survey)
#B00149
ΔE00 3.35
Purplish Red
#B0054B
ΔE00 3.61
Purple Red
#990147
ΔE00 4.24
Rouge
#AB1239
ΔE00 4.31
Red Wine
#8C0034
ΔE00 4.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1340 #139F72
analogous
#9F1386 #9F1340 #9F2C13
triadic
#9F1340 #409F13 #13409F
tetradic
#9F1340 #869F13 #139F72 #2C139F
square
#9F1340 #869F13 #139F72 #2C139F
split-complementary
#9F1340 #139F2C #13869F
monochromatic
#320614 #680C2A #9F1340 #D61A56 #E94479
Accessibility & contrast
On white
7.95
#9F1340 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.64
#9F1340 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1340
7.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1340 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1340 | 1.00 | 7.95 | 2.64 | 7.95 |
| #FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F3F41
Deuteranopia (green-blind)
#625B3C
Tritanopia (blue-blind)
#AE0029
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #9f1340; /* rgb */ color: rgb(159, 19, 64); /* oklch */ color: oklch(45.7% 0.171 10.4);
Tailwind
colors: {
custom: {
50: '#c36574',
500: '#9f1340',
950: '#000000',
},
}SCSS
$custom: #9f1340; $custom-light: #c36574; $custom-dark: #000000;
JSON
{
"hex": "#9f1340",
"rgb": {
"r": 159,
"g": 19,
"b": 64
},
"hsl": {
"h": 340.714,
"s": 78.652,
"l": 34.902
},
"oklch": {
"l": 0.45669,
"c": 0.17141,
"h": 10.4
},
"luminance": 0.08207
}Semantic roles & 50–950 ramp
primary
#9F1340
secondary
#45C99F
accent
#F5B733
background
#FCF6F7
surface
#F9EBED
border
#D2C6C8
text
#140608
muted
#827A7B