#9D271F#9D271F
#9D271F is a mid, vivid red. Relative luminance 0.087; OKLCH L 46.2% C 0.156 H 28.6°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).
Color values
| HEX | #9D271F |
|---|---|
| RGB | rgb(157, 39, 31) |
| HSL | hsl(4, 67%, 37%) |
| HSV | hsv(4, 80%, 62%) |
| CMYK | cmyk(0%, 75.2%, 80.3%, 38.4%) |
| CIE-LAB | lab(35.44, 47.75, 34.25) |
| CIE-LCH | lch(35.44, 58.76, 35.65°) |
| OKLab | oklab(46.18% 0.1365 0.0745) |
| OKLCH | oklch(46.18% 0.156 28.6) |
| XYZ | xyz(14.8792, 8.7204, 2.1958) |
| Luminance | 0.0872 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 3.04
Brownish Red
#9E3623
ΔE00 3.30
Brick
#A03623
ΔE00 3.40
Carmine
#9D0216
ΔE00 3.59
Firebrick
#B22222
ΔE00 4.00
Darkish Red
#A90308
ΔE00 4.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D271F #1F959D
analogous
#9D1F56 #9D271F #9D661F
triadic
#9D271F #1F9D27 #271F9D
tetradic
#9D271F #569D1F #1F959D #661F9D
square
#9D271F #569D1F #1F959D #661F9D
split-complementary
#9D271F #1F9D66 #1F569D
monochromatic
#370E0B #6A1A15 #9D271F #D03429 #DE6158
Accessibility & contrast
On white
7.65
#9D271F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#9D271F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9D271F
7.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D271F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9D271F | 1.00 | 7.65 | 2.74 | 7.65 |
| #FFFFFF | 7.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B431D
Deuteranopia (green-blind)
#685D1A
Tritanopia (blue-blind)
#AD0026
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #9d271f; /* rgb */ color: rgb(157, 39, 31); /* oklch */ color: oklch(46.2% 0.156 28.6);
Tailwind
colors: {
custom: {
50: '#c36b5c',
500: '#9d271f',
950: '#000000',
},
}SCSS
$custom: #9d271f; $custom-light: #c36b5c; $custom-dark: #000000;
JSON
{
"hex": "#9d271f",
"rgb": {
"r": 157,
"g": 39,
"b": 31
},
"hsl": {
"h": 3.81,
"s": 67.021,
"l": 36.863
},
"oklch": {
"l": 0.46181,
"c": 0.15553,
"h": 28.6
},
"luminance": 0.08718
}Semantic roles & 50–950 ramp
primary
#9D271F
secondary
#56BBC2
accent
#DFEA3E
background
#FDF6F5
surface
#FAECE9
border
#D3C7C5
text
#140704
muted
#837A79