#9A281F#9A281F
#9A281F is a mid, vivid red. Relative luminance 0.085; OKLCH L 45.7% C 0.152 H 28.9°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #9A281F |
|---|---|
| RGB | rgb(154, 40, 31) |
| HSL | hsl(4, 66%, 36%) |
| HSV | hsv(4, 80%, 60%) |
| CMYK | cmyk(0%, 74%, 79.9%, 39.6%) |
| CIE-LAB | lab(34.98, 46.40, 33.59) |
| CIE-LCH | lch(34.98, 57.28, 35.90°) |
| OKLab | oklab(45.73% 0.1326 0.0733) |
| OKLCH | oklch(45.73% 0.152 28.9) |
| XYZ | xyz(14.3342, 8.4888, 2.1798) |
| Luminance | 0.0849 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brownish Red
#9E3623
ΔE00 3.32
Brown
#A52A2A
ΔE00 3.39
Brick
#A03623
ΔE00 3.49
Carmine
#9D0216
ΔE00 3.68
Firebrick
#B22222
ΔE00 4.57
Darkish Red
#A90308
ΔE00 4.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A281F #1F919A
analogous
#9A1F54 #9A281F #9A661F
triadic
#9A281F #1F9A28 #281F9A
tetradic
#9A281F #549A1F #1F919A #661F9A
square
#9A281F #549A1F #1F919A #661F9A
split-complementary
#9A281F #1F9A66 #1F549A
monochromatic
#340E0A #671B15 #9A281F #CD3529 #DD6056
Accessibility & contrast
On white
7.79
#9A281F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.70
#9A281F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9A281F
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A281F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A281F | 1.00 | 7.79 | 2.70 | 7.79 |
| #FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A421D
Deuteranopia (green-blind)
#665B1A
Tritanopia (blue-blind)
#AA0027
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9a281f; /* rgb */ color: rgb(154, 40, 31); /* oklch */ color: oklch(45.7% 0.152 28.9);
Tailwind
colors: {
custom: {
50: '#c06b5b',
500: '#9a281f',
950: '#000000',
},
}SCSS
$custom: #9a281f; $custom-light: #c06b5b; $custom-dark: #000000;
JSON
{
"hex": "#9a281f",
"rgb": {
"r": 154,
"g": 40,
"b": 31
},
"hsl": {
"h": 4.39,
"s": 66.486,
"l": 36.275
},
"oklch": {
"l": 0.45731,
"c": 0.15157,
"h": 28.9
},
"luminance": 0.08487
}Semantic roles & 50–950 ramp
primary
#9A281F
secondary
#54B9C1
accent
#DDE93E
background
#FCF6F5
surface
#F9ECE9
border
#D2C7C5
text
#140704
muted
#827A79