#97271F#97271F
#97271F is a mid, vivid red. Relative luminance 0.081; OKLCH L 45.1% C 0.149 H 28.6°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).
Color values
| HEX | #97271F |
|---|---|
| RGB | rgb(151, 39, 31) |
| HSL | hsl(4, 66%, 36%) |
| HSV | hsv(4, 79%, 59%) |
| CMYK | cmyk(0%, 74.2%, 79.5%, 40.8%) |
| CIE-LAB | lab(34.26, 45.78, 32.65) |
| CIE-LCH | lch(34.26, 56.23, 35.50°) |
| OKLab | oklab(45.08% 0.1311 0.0715) |
| OKLCH | oklch(45.08% 0.149 28.6) |
| XYZ | xyz(13.7370, 8.1314, 2.1423) |
| Luminance | 0.0813 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Carmine
#9D0216
ΔE00 3.48
Brown
#A52A2A
ΔE00 3.65
Brownish Red
#9E3623
ΔE00 3.86
Brick
#A03623
ΔE00 4.07
Red Brown
#8B2E16
ΔE00 4.63
Crimson (survey)
#8C000F
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97271F #1F8F97
analogous
#971F53 #97271F #97631F
triadic
#97271F #1F9727 #271F97
tetradic
#97271F #53971F #1F8F97 #631F97
square
#97271F #53971F #1F8F97 #631F97
split-complementary
#97271F #1F9763 #1F5397
monochromatic
#310D0A #641A15 #97271F #CA3429 #DC5D54
Accessibility & contrast
On white
8.00
#97271F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#97271F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #97271F
8.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97271F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##97271F | 1.00 | 8.00 | 2.63 | 8.00 |
| #FFFFFF | 8.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#48411D
Deuteranopia (green-blind)
#64591A
Tritanopia (blue-blind)
#A70026
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #97271f; /* rgb */ color: rgb(151, 39, 31); /* oklch */ color: oklch(45.1% 0.149 28.6);
Tailwind
colors: {
custom: {
50: '#be6a5b',
500: '#97271f',
950: '#000000',
},
}SCSS
$custom: #97271f; $custom-light: #be6a5b; $custom-dark: #000000;
JSON
{
"hex": "#97271f",
"rgb": {
"r": 151,
"g": 39,
"b": 31
},
"hsl": {
"h": 4,
"s": 65.934,
"l": 35.686
},
"oklch": {
"l": 0.45083,
"c": 0.14931,
"h": 28.6
},
"luminance": 0.08129
}Semantic roles & 50–950 ramp
primary
#97271F
secondary
#52B8BF
accent
#DEE93F
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140704
muted
#827A79