#9A271E#9A271E
#9A271E is a mid, vivid red. Relative luminance 0.084; OKLCH L 45.6% C 0.153 H 29.0°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).
Color values
| HEX | #9A271E |
|---|---|
| RGB | rgb(154, 39, 30) |
| HSL | hsl(4, 67%, 36%) |
| HSV | hsv(4, 81%, 60%) |
| CMYK | cmyk(0%, 74.7%, 80.5%, 39.6%) |
| CIE-LAB | lab(34.84, 46.73, 34.01) |
| CIE-LCH | lch(34.84, 57.80, 36.05°) |
| OKLab | oklab(45.62% 0.1335 0.0739) |
| OKLCH | oklch(45.62% 0.153 29) |
| XYZ | xyz(14.2880, 8.4170, 2.1004) |
| Luminance | 0.0842 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brownish Red
#9E3623
ΔE00 3.40
Brown
#A52A2A
ΔE00 3.53
Brick
#A03623
ΔE00 3.56
Carmine
#9D0216
ΔE00 3.57
Darkish Red
#A90308
ΔE00 4.42
Firebrick
#B22222
ΔE00 4.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A271E #1E919A
analogous
#9A1E53 #9A271E #9A651E
triadic
#9A271E #1E9A27 #271E9A
tetradic
#9A271E #539A1E #1E919A #651E9A
square
#9A271E #539A1E #1E919A #651E9A
split-complementary
#9A271E #1E9A65 #1E539A
monochromatic
#340D0A #671A14 #9A271E #CD3428 #DE5F55
Accessibility & contrast
On white
7.83
#9A271E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#9A271E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9A271E
7.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A271E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A271E | 1.00 | 7.83 | 2.68 | 7.83 |
| #FFFFFF | 7.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A421C
Deuteranopia (green-blind)
#665B19
Tritanopia (blue-blind)
#AA0026
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #9a271e; /* rgb */ color: rgb(154, 39, 30); /* oklch */ color: oklch(45.6% 0.153 29.0);
Tailwind
colors: {
custom: {
50: '#c06a5b',
500: '#9a271e',
950: '#000000',
},
}SCSS
$custom: #9a271e; $custom-light: #c06a5b; $custom-dark: #000000;
JSON
{
"hex": "#9a271e",
"rgb": {
"r": 154,
"g": 39,
"b": 30
},
"hsl": {
"h": 4.355,
"s": 67.391,
"l": 36.078
},
"oklch": {
"l": 0.45621,
"c": 0.15259,
"h": 29
},
"luminance": 0.08415
}Semantic roles & 50–950 ramp
primary
#9A271E
secondary
#53B9C1
accent
#DEEA3E
background
#FCF6F5
surface
#F9ECE9
border
#D2C7C5
text
#140704
muted
#827A79