#A7281C#A7281C
#A7281C is a mid, vivid red. Relative luminance 0.098; OKLCH L 48.1% C 0.165 H 29.8°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).
Color values
| HEX | #A7281C |
|---|---|
| RGB | rgb(167, 40, 28) |
| HSL | hsl(5, 71%, 38%) |
| HSV | hsv(5, 83%, 65%) |
| CMYK | cmyk(0%, 76%, 83.2%, 34.5%) |
| CIE-LAB | lab(37.52, 50.52, 38.61) |
| CIE-LCH | lch(37.52, 63.58, 37.38°) |
| OKLab | oklab(48.08% 0.1435 0.0821) |
| OKLCH | oklch(48.08% 0.165 29.8) |
| XYZ | xyz(16.9068, 9.8196, 2.1035) |
| Luminance | 0.0982 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brick
#A03623
ΔE00 2.61
Brownish Red
#9E3623
ΔE00 2.79
Firebrick
#B22222
ΔE00 2.82
Darkish Red
#A90308
ΔE00 3.40
Brown
#A52A2A
ΔE00 3.90
Scarlet
#BE0119
ΔE00 4.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7281C #1C9BA7
analogous
#A71C55 #A7281C #A76D1C
triadic
#A7281C #1CA728 #281CA7
tetradic
#A7281C #55A71C #1C9BA7 #6D1CA7
square
#A7281C #55A71C #1C9BA7 #6D1CA7
split-complementary
#A7281C #1CA76D #1C55A7
monochromatic
#3E0F0A #731B13 #A7281C #DB3526 #E3665A
Accessibility & contrast
On white
7.09
#A7281C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#A7281C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A7281C
7.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7281C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A7281C | 1.00 | 7.09 | 2.96 | 7.09 |
| #FFFFFF | 7.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F4619
Deuteranopia (green-blind)
#6F6215
Tritanopia (blue-blind)
#B80027
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #a7281c; /* rgb */ color: rgb(167, 40, 28); /* oklch */ color: oklch(48.1% 0.165 29.8);
Tailwind
colors: {
custom: {
50: '#ca6c5a',
500: '#a7281c',
950: '#000000',
},
}SCSS
$custom: #a7281c; $custom-light: #ca6c5a; $custom-dark: #000000;
JSON
{
"hex": "#a7281c",
"rgb": {
"r": 167,
"g": 40,
"b": 28
},
"hsl": {
"h": 5.18,
"s": 71.282,
"l": 38.235
},
"oklch": {
"l": 0.48077,
"c": 0.1653,
"h": 29.8
},
"luminance": 0.09817
}Semantic roles & 50–950 ramp
primary
#A7281C
secondary
#58BDC7
accent
#DEEE3A
background
#FDF6F5
surface
#FBECE9
border
#D4C7C5
text
#150804
muted
#837B79