#9F1A2B#9F1A2B
#9F1A2B is a mid, vivid red. Relative luminance 0.083; OKLCH L 45.7% C 0.166 H 21.1°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1A2B |
|---|---|
| RGB | rgb(159, 26, 43) |
| HSL | hsl(352, 72%, 36%) |
| HSV | hsv(352, 84%, 62%) |
| CMYK | cmyk(0%, 83.6%, 73%, 37.6%) |
| CIE-LAB | lab(34.57, 52.85, 26.20) |
| CIE-LCH | lch(34.57, 58.98, 26.37°) |
| OKLab | oklab(45.66% 0.1551 0.0599) |
| OKLCH | oklch(45.66% 0.166 21.1) |
| XYZ | xyz(15.1053, 8.2866, 3.0891) |
| Luminance | 0.0828 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 3.96
Rouge
#AB1239
ΔE00 4.53
Carmine
#9D0216
ΔE00 4.94
Lipstick Red
#C0022F
ΔE00 6.03
Firebrick
#B22222
ΔE00 6.47
Rose Red
#BE013C
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1A2B #1A9F8E
analogous
#9F1A6E #9F1A2B #9F4C1A
triadic
#9F1A2B #2B9F1A #1A2B9F
tetradic
#9F1A2B #6E9F1A #1A9F8E #4C1A9F
square
#9F1A2B #6E9F1A #1A9F8E #4C1A9F
split-complementary
#9F1A2B #1A9F4C #1A6E9F
monochromatic
#36090F #6A111D #9F1A2B #D42339 #E35163
Accessibility & contrast
On white
7.90
#9F1A2B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#9F1A2B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1A2B
7.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1A2B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1A2B | 1.00 | 7.90 | 2.66 | 7.90 |
| #FFFFFF | 7.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#453F2A
Deuteranopia (green-blind)
#655B26
Tritanopia (blue-blind)
#AF0022
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #9f1a2b; /* rgb */ color: rgb(159, 26, 43); /* oklch */ color: oklch(45.7% 0.166 21.1);
Tailwind
colors: {
custom: {
50: '#c46664',
500: '#9f1a2b',
950: '#000000',
},
}SCSS
$custom: #9f1a2b; $custom-light: #c46664; $custom-dark: #000000;
JSON
{
"hex": "#9f1a2b",
"rgb": {
"r": 159,
"g": 26,
"b": 43
},
"hsl": {
"h": 352.331,
"s": 71.892,
"l": 36.275
},
"oklch": {
"l": 0.45657,
"c": 0.16628,
"h": 21.1
},
"luminance": 0.08284
}Semantic roles & 50–950 ramp
primary
#9F1A2B
secondary
#50C5B6
accent
#EFD739
background
#FDF6F5
surface
#FAEBEA
border
#D3C6C6
text
#140705
muted
#837A79