#9C271F#9C271F
#9C271F is a mid, vivid red. Relative luminance 0.086; OKLCH L 46.0% C 0.155 H 28.6°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).
Color values
| HEX | #9C271F |
|---|---|
| RGB | rgb(156, 39, 31) |
| HSL | hsl(4, 67%, 37%) |
| HSV | hsv(4, 80%, 61%) |
| CMYK | cmyk(0%, 75%, 80.1%, 38.8%) |
| CIE-LAB | lab(35.24, 47.42, 33.99) |
| CIE-LCH | lch(35.24, 58.34, 35.63°) |
| OKLab | oklab(46% 0.1356 0.074) |
| OKLCH | oklch(46% 0.155 28.6) |
| XYZ | xyz(14.6849, 8.6202, 2.1867) |
| Luminance | 0.0862 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 3.12
Brownish Red
#9E3623
ΔE00 3.37
Brick
#A03623
ΔE00 3.49
Carmine
#9D0216
ΔE00 3.54
Firebrick
#B22222
ΔE00 4.18
Darkish Red
#A90308
ΔE00 4.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C271F #1F949C
analogous
#9C1F56 #9C271F #9C661F
triadic
#9C271F #1F9C27 #271F9C
tetradic
#9C271F #569C1F #1F949C #661F9C
square
#9C271F #569C1F #1F949C #661F9C
split-complementary
#9C271F #1F9C66 #1F569C
monochromatic
#360D0B #691A15 #9C271F #CF3429 #DE6058
Accessibility & contrast
On white
7.71
#9C271F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#9C271F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9C271F
7.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C271F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C271F | 1.00 | 7.71 | 2.72 | 7.71 |
| #FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A431D
Deuteranopia (green-blind)
#675C1A
Tritanopia (blue-blind)
#AC0026
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9c271f; /* rgb */ color: rgb(156, 39, 31); /* oklch */ color: oklch(46.0% 0.155 28.6);
Tailwind
colors: {
custom: {
50: '#c26a5c',
500: '#9c271f',
950: '#000000',
},
}SCSS
$custom: #9c271f; $custom-light: #c26a5c; $custom-dark: #000000;
JSON
{
"hex": "#9c271f",
"rgb": {
"r": 156,
"g": 39,
"b": 31
},
"hsl": {
"h": 3.84,
"s": 66.845,
"l": 36.667
},
"oklch": {
"l": 0.45998,
"c": 0.15451,
"h": 28.6
},
"luminance": 0.08618
}Semantic roles & 50–950 ramp
primary
#9C271F
secondary
#55BBC1
accent
#DFEA3E
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#140704
muted
#837A79