#9F1F3F#9F1F3F
#9F1F3F is a mid, vivid red. Relative luminance 0.087; OKLCH L 46.4% C 0.163 H 12.7°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1F3F |
|---|---|
| RGB | rgb(159, 31, 63) |
| HSL | hsl(345, 67%, 37%) |
| HSV | hsv(345, 81%, 62%) |
| CMYK | cmyk(0%, 80.5%, 60.4%, 37.6%) |
| CIE-LAB | lab(35.42, 52.61, 14.47) |
| CIE-LCH | lch(35.42, 54.56, 15.38°) |
| OKLab | oklab(46.41% 0.1587 0.0357) |
| OKLCH | oklch(46.41% 0.163 12.7) |
| XYZ | xyz(15.6869, 8.7121, 5.5573) |
| Luminance | 0.0871 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cranberry
#9E003A
ΔE00 2.46
Rouge
#AB1239
ΔE00 3.15
Raspberry (survey)
#B00149
ΔE00 4.10
Purplish Red
#B0054B
ΔE00 4.39
Red Wine
#8C0034
ΔE00 5.26
Purple Red
#990147
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1F3F #1F9F7F
analogous
#9F1F7F #9F1F3F #9F3F1F
triadic
#9F1F3F #3F9F1F #1F3F9F
tetradic
#9F1F3F #7F9F1F #1F9F7F #3F1F9F
square
#9F1F3F #7F9F1F #1F9F7F #3F1F9F
split-complementary
#9F1F3F #1F9F3F #1F7F9F
monochromatic
#390B16 #6C152B #9F1F3F #D22953 #DF5A7B
Accessibility & contrast
On white
7.66
#9F1F3F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#9F1F3F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1F3F
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1F3F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1F3F | 1.00 | 7.66 | 2.74 | 7.66 |
| #FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#44433F
Deuteranopia (green-blind)
#645D3C
Tritanopia (blue-blind)
#AE002D
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9f1f3f; /* rgb */ color: rgb(159, 31, 63); /* oklch */ color: oklch(46.4% 0.163 12.7);
Tailwind
colors: {
custom: {
50: '#c26873',
500: '#9f1f3f',
950: '#000000',
},
}SCSS
$custom: #9f1f3f; $custom-light: #c26873; $custom-dark: #000000;
JSON
{
"hex": "#9f1f3f",
"rgb": {
"r": 159,
"g": 31,
"b": 63
},
"hsl": {
"h": 345,
"s": 67.368,
"l": 37.255
},
"oklch": {
"l": 0.46405,
"c": 0.16263,
"h": 12.7
},
"luminance": 0.0871
}Semantic roles & 50–950 ramp
primary
#9F1F3F
secondary
#57C3A8
accent
#EABF3E
background
#FCF6F6
surface
#F9EBEC
border
#D2C6C7
text
#140708
muted
#827A7B