#9F1A2A#9F1A2A
#9F1A2A is a mid, vivid red. Relative luminance 0.083; OKLCH L 45.6% C 0.166 H 21.5°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1A2A |
|---|---|
| RGB | rgb(159, 26, 42) |
| HSL | hsl(353, 72%, 36%) |
| HSV | hsv(353, 84%, 62%) |
| CMYK | cmyk(0%, 83.6%, 73.6%, 37.6%) |
| CIE-LAB | lab(34.56, 52.80, 26.80) |
| CIE-LCH | lch(34.56, 59.22, 26.91°) |
| OKLab | oklab(45.64% 0.1547 0.0611) |
| OKLCH | oklch(45.64% 0.166 21.5) |
| XYZ | xyz(15.0872, 8.2793, 2.9937) |
| Luminance | 0.0828 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 3.73
Carmine
#9D0216
ΔE00 4.64
Rouge
#AB1239
ΔE00 4.83
Lipstick Red
#C0022F
ΔE00 6.02
Firebrick
#B22222
ΔE00 6.22
Crimson (survey)
#8C000F
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1A2A #1A9F8F
analogous
#9F1A6D #9F1A2A #9F4D1A
triadic
#9F1A2A #2A9F1A #1A2A9F
tetradic
#9F1A2A #6D9F1A #1A9F8F #4D1A9F
square
#9F1A2A #6D9F1A #1A9F8F #4D1A9F
split-complementary
#9F1A2A #1A9F4D #1A6D9F
monochromatic
#36090E #6A111C #9F1A2A #D42338 #E35162
Accessibility & contrast
On white
7.91
#9F1A2A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#9F1A2A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1A2A
7.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1A2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1A2A | 1.00 | 7.91 | 2.66 | 7.91 |
| #FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#453F29
Deuteranopia (green-blind)
#655B25
Tritanopia (blue-blind)
#AF0022
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #9f1a2a; /* rgb */ color: rgb(159, 26, 42); /* oklch */ color: oklch(45.6% 0.166 21.5);
Tailwind
colors: {
custom: {
50: '#c46663',
500: '#9f1a2a',
950: '#000000',
},
}SCSS
$custom: #9f1a2a; $custom-light: #c46663; $custom-dark: #000000;
JSON
{
"hex": "#9f1a2a",
"rgb": {
"r": 159,
"g": 26,
"b": 42
},
"hsl": {
"h": 352.782,
"s": 71.892,
"l": 36.275
},
"oklch": {
"l": 0.45641,
"c": 0.16634,
"h": 21.5
},
"luminance": 0.08277
}Semantic roles & 50–950 ramp
primary
#9F1A2A
secondary
#50C5B7
accent
#EFD939
background
#FDF6F5
surface
#FAEBEA
border
#D3C6C6
text
#140705
muted
#837A79