#9C271C#9C271C
#9C271C is a mid, vivid red. Relative luminance 0.086; OKLCH L 46.0% C 0.155 H 29.6°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).
Color values
| HEX | #9C271C |
|---|---|
| RGB | rgb(156, 39, 28) |
| HSL | hsl(5, 70%, 36%) |
| HSV | hsv(5, 82%, 61%) |
| CMYK | cmyk(0%, 75%, 82.1%, 38.8%) |
| CIE-LAB | lab(35.21, 47.32, 35.63) |
| CIE-LCH | lch(35.21, 59.24, 36.98°) |
| OKLab | oklab(45.97% 0.1347 0.0766) |
| OKLCH | oklch(45.97% 0.155 29.6) |
| XYZ | xyz(14.6472, 8.6051, 1.9881) |
| Luminance | 0.0860 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brownish Red
#9E3623
ΔE00 3.00
Brick
#A03623
ΔE00 3.13
Brown
#A52A2A
ΔE00 3.85
Carmine
#9D0216
ΔE00 3.88
Darkish Red
#A90308
ΔE00 3.88
Firebrick
#B22222
ΔE00 4.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C271C #1C919C
analogous
#9C1C51 #9C271C #9C671C
triadic
#9C271C #1C9C27 #271C9C
tetradic
#9C271C #519C1C #1C919C #671C9C
square
#9C271C #519C1C #1C919C #671C9C
split-complementary
#9C271C #1C9C67 #1C519C
monochromatic
#340D09 #681A13 #9C271C #D03425 #E05F52
Accessibility & contrast
On white
7.72
#9C271C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#9C271C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9C271C
7.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C271C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C271C | 1.00 | 7.72 | 2.72 | 7.72 |
| #FFFFFF | 7.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B4219
Deuteranopia (green-blind)
#675C16
Tritanopia (blue-blind)
#AC0026
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9c271c; /* rgb */ color: rgb(156, 39, 28); /* oklch */ color: oklch(46.0% 0.155 29.6);
Tailwind
colors: {
custom: {
50: '#c26a59',
500: '#9c271c',
950: '#000000',
},
}SCSS
$custom: #9c271c; $custom-light: #c26a59; $custom-dark: #000000;
JSON
{
"hex": "#9c271c",
"rgb": {
"r": 156,
"g": 39,
"b": 28
},
"hsl": {
"h": 5.156,
"s": 69.565,
"l": 36.078
},
"oklch": {
"l": 0.45966,
"c": 0.15495,
"h": 29.6
},
"luminance": 0.08603
}Semantic roles & 50–950 ramp
primary
#9C271C
secondary
#51B9C3
accent
#DDEC3B
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#140704
muted
#837A79