#9F1931#9F1931
#9F1931 is a mid, vivid red. Relative luminance 0.083; OKLCH L 45.7% C 0.167 H 18.4°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).
Color values
| HEX | #9F1931 |
|---|---|
| RGB | rgb(159, 25, 49) |
| HSL | hsl(349, 73%, 36%) |
| HSV | hsv(349, 84%, 62%) |
| CMYK | cmyk(0%, 84.3%, 69.2%, 37.6%) |
| CIE-LAB | lab(34.58, 53.39, 22.40) |
| CIE-LCH | lch(34.58, 57.90, 22.76°) |
| OKLab | oklab(45.69% 0.1582 0.0525) |
| OKLCH | oklch(45.69% 0.167 18.4) |
| XYZ | xyz(15.2018, 8.2903, 3.7049) |
| Luminance | 0.0829 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 2.87
Cranberry
#9E003A
ΔE00 4.91
Brown
#A52A2A
ΔE00 5.70
Rose Red
#BE013C
ΔE00 5.83
Lipstick Red
#C0022F
ΔE00 6.55
Red Wine
#8C0034
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F1931 #199F87
analogous
#9F1974 #9F1931 #9F4419
triadic
#9F1931 #319F19 #19319F
tetradic
#9F1931 #749F19 #199F87 #44199F
square
#9F1931 #749F19 #199F87 #44199F
split-complementary
#9F1931 #199F44 #19749F
monochromatic
#350810 #6A1121 #9F1931 #D42141 #E34F6A
Accessibility & contrast
On white
7.90
#9F1931 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.66
#9F1931 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9F1931
7.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F1931 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9F1931 | 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)
#433F31
Deuteranopia (green-blind)
#645B2D
Tritanopia (blue-blind)
#AF0024
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #9f1931; /* rgb */ color: rgb(159, 25, 49); /* oklch */ color: oklch(45.7% 0.167 18.4);
Tailwind
colors: {
custom: {
50: '#c36668',
500: '#9f1931',
950: '#000000',
},
}SCSS
$custom: #9f1931; $custom-light: #c36668; $custom-dark: #000000;
JSON
{
"hex": "#9f1931",
"rgb": {
"r": 159,
"g": 25,
"b": 49
},
"hsl": {
"h": 349.254,
"s": 72.826,
"l": 36.078
},
"oklch": {
"l": 0.45694,
"c": 0.16673,
"h": 18.4
},
"luminance": 0.08288
}Semantic roles & 50–950 ramp
primary
#9F1931
secondary
#4EC6B0
accent
#F0CF38
background
#FDF6F6
surface
#FAEBEB
border
#D3C6C6
text
#140706
muted
#837A7A