#9C1F31#9C1F31
#9C1F31 is a mid, vivid red. Relative luminance 0.083; OKLCH L 45.6% C 0.159 H 19.1°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).
Color values
| HEX | #9C1F31 |
|---|---|
| RGB | rgb(156, 31, 49) |
| HSL | hsl(351, 67%, 37%) |
| HSV | hsv(351, 80%, 61%) |
| CMYK | cmyk(0%, 80.1%, 68.6%, 38.8%) |
| CIE-LAB | lab(34.54, 50.87, 22.22) |
| CIE-LCH | lch(34.54, 55.51, 23.59°) |
| OKLab | oklab(45.56% 0.1506 0.0523) |
| OKLCH | oklch(45.56% 0.159 19.1) |
| XYZ | xyz(14.7563, 8.2719, 3.7248) |
| Luminance | 0.0827 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 3.51
Brown
#A52A2A
ΔE00 5.30
Cranberry
#9E003A
ΔE00 5.40
Rose Red
#BE013C
ΔE00 6.37
Carmine
#9D0216
ΔE00 6.67
Burgundy
#800020
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C1F31 #1F9C8A
analogous
#9C1F70 #9C1F31 #9C4C1F
triadic
#9C1F31 #319C1F #1F319C
tetradic
#9C1F31 #709C1F #1F9C8A #4C1F9C
square
#9C1F31 #709C1F #1F9C8A #4C1F9C
split-complementary
#9C1F31 #1F9C4C #1F709C
monochromatic
#360B11 #691521 #9C1F31 #CF2941 #DE586B
Accessibility & contrast
On white
7.91
#9C1F31 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#9C1F31 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9C1F31
7.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C1F31 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C1F31 | 1.00 | 7.91 | 2.65 | 7.91 |
| #FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#454031
Deuteranopia (green-blind)
#645B2D
Tritanopia (blue-blind)
#AC0027
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #9c1f31; /* rgb */ color: rgb(156, 31, 49); /* oklch */ color: oklch(45.6% 0.159 19.1);
Tailwind
colors: {
custom: {
50: '#c16869',
500: '#9c1f31',
950: '#000000',
},
}SCSS
$custom: #9c1f31; $custom-light: #c16869; $custom-dark: #000000;
JSON
{
"hex": "#9c1f31",
"rgb": {
"r": 156,
"g": 31,
"b": 49
},
"hsl": {
"h": 351.36,
"s": 66.845,
"l": 36.667
},
"oklch": {
"l": 0.45557,
"c": 0.1594,
"h": 19.1
},
"luminance": 0.0827
}Semantic roles & 50–950 ramp
primary
#9C1F31
secondary
#55C1B2
accent
#EAD13E
background
#FCF6F6
surface
#F9EBEB
border
#D2C6C6
text
#140706
muted
#827A7A