#97271B#97271B
#97271B is a mid, vivid red. Relative luminance 0.081; OKLCH L 45.0% C 0.150 H 30.0°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).
Color values
| HEX | #97271B |
|---|---|
| RGB | rgb(151, 39, 27) |
| HSL | hsl(6, 70%, 35%) |
| HSV | hsv(6, 82%, 59%) |
| CMYK | cmyk(0%, 74.2%, 82.1%, 40.8%) |
| CIE-LAB | lab(34.21, 45.64, 34.87) |
| CIE-LCH | lch(34.21, 57.43, 37.38°) |
| OKLab | oklab(45.04% 0.1298 0.0751) |
| OKLCH | oklch(45.04% 0.15 30) |
| XYZ | xyz(13.6875, 8.1116, 1.8817) |
| Luminance | 0.0811 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brownish Red
#9E3623
ΔE00 3.41
Brick
#A03623
ΔE00 3.63
Red Brown
#8B2E16
ΔE00 3.74
Carmine
#9D0216
ΔE00 3.92
Blood Red
#980002
ΔE00 4.25
Deep Red
#9A0200
ΔE00 4.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#97271B #1B8B97
analogous
#971B4D #97271B #97651B
triadic
#97271B #1B9727 #271B97
tetradic
#97271B #4D971B #1B8B97 #651B97
square
#97271B #4D971B #1B8B97 #651B97
split-complementary
#97271B #1B9765 #1B4D97
monochromatic
#2F0C08 #631A12 #97271B #CB3424 #DF5B4D
Accessibility & contrast
On white
8.01
#97271B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#97271B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #97271B
8.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##97271B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##97271B | 1.00 | 8.01 | 2.62 | 8.01 |
| #FFFFFF | 8.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#494118
Deuteranopia (green-blind)
#645916
Tritanopia (blue-blind)
#A70025
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #97271b; /* rgb */ color: rgb(151, 39, 27); /* oklch */ color: oklch(45.0% 0.150 30.0);
Tailwind
colors: {
custom: {
50: '#be6a59',
500: '#97271b',
950: '#000000',
},
}SCSS
$custom: #97271b; $custom-light: #be6a59; $custom-dark: #000000;
JSON
{
"hex": "#97271b",
"rgb": {
"r": 151,
"g": 39,
"b": 27
},
"hsl": {
"h": 5.806,
"s": 69.663,
"l": 34.902
},
"oklch": {
"l": 0.45039,
"c": 0.14993,
"h": 30
},
"luminance": 0.08109
}Semantic roles & 50–950 ramp
primary
#97271B
secondary
#4CB6C1
accent
#DBEC3B
background
#FCF6F5
surface
#F9EBE9
border
#D2C6C5
text
#140703
muted
#827A78