#9F1F2A#9F1F2A
#9F1F2A is a mid, vivid red. Relative luminance 0.085; OKLCH L 46.0% C 0.163 H 22.5°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1F2A |
|---|---|
| RGB | rgb(159, 31, 42) |
| HSL | hsl(355, 67%, 37%) |
| HSV | hsv(355, 81%, 62%) |
| CMYK | cmyk(0%, 80.5%, 73.6%, 37.6%) |
| CIE-LAB | lab(35.04, 51.43, 27.37) |
| CIE-LCH | lch(35.04, 58.26, 28.03°) |
| OKLab | oklab(46% 0.1503 0.0623) |
| OKLCH | oklch(46% 0.163 22.5) |
| XYZ | xyz(15.2078, 8.5205, 3.0339) |
| Luminance | 0.0852 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.96
Carmine
#9D0216
ΔE00 4.39
Rouge
#AB1239
ΔE00 5.35
Firebrick
#B22222
ΔE00 5.59
Lipstick Red
#C0022F
ΔE00 5.95
Crimson (survey)
#8C000F
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1F2A #1F9F94
analogous
#9F1F6A #9F1F2A #9F541F
triadic
#9F1F2A #2A9F1F #1F2A9F
tetradic
#9F1F2A #6A9F1F #1F9F94 #541F9F
square
#9F1F2A #6A9F1F #1F9F94 #541F9F
split-complementary
#9F1F2A #1F9F54 #1F6A9F
monochromatic
#390B0F #6C151C #9F1F2A #D22938 #DF5A65
Accessibility & contrast
On white
7.77
#9F1F2A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#9F1F2A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1F2A
7.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1F2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1F2A | 1.00 | 7.77 | 2.70 | 7.77 |
| #FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#474129
Deuteranopia (green-blind)
#665C25
Tritanopia (blue-blind)
#AF0025
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9f1f2a; /* rgb */ color: rgb(159, 31, 42); /* oklch */ color: oklch(46.0% 0.163 22.5);
Tailwind
colors: {
custom: {
50: '#c46863',
500: '#9f1f2a',
950: '#000000',
},
}SCSS
$custom: #9f1f2a; $custom-light: #c46863; $custom-dark: #000000;
JSON
{
"hex": "#9f1f2a",
"rgb": {
"r": 159,
"g": 31,
"b": 42
},
"hsl": {
"h": 354.844,
"s": 67.368,
"l": 37.255
},
"oklch": {
"l": 0.46002,
"c": 0.16274,
"h": 22.5
},
"luminance": 0.08518
}Semantic roles & 50–950 ramp
primary
#9F1F2A
secondary
#57C3B9
accent
#EADB3E
background
#FDF6F5
surface
#FAEBEA
border
#D3C6C6
text
#140705
muted
#837A79