#A7251B#A7251B
#A7251B is a mid, vivid red. Relative luminance 0.096; OKLCH L 47.8% C 0.168 H 29.3°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).
Color values
| HEX | #A7251B |
|---|---|
| RGB | rgb(167, 37, 27) |
| HSL | hsl(4, 72%, 38%) |
| HSV | hsv(4, 84%, 65%) |
| CMYK | cmyk(0%, 77.8%, 83.8%, 34.5%) |
| CIE-LAB | lab(37.15, 51.49, 38.79) |
| CIE-LCH | lch(37.15, 64.46, 37.00°) |
| OKLab | oklab(47.8% 0.1463 0.0821) |
| OKLCH | oklch(47.8% 0.168 29.3) |
| XYZ | xyz(16.7978, 9.6205, 2.0092) |
| Luminance | 0.0962 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.73
Brick
#A03623
ΔE00 3.00
Darkish Red
#A90308
ΔE00 3.10
Brownish Red
#9E3623
ΔE00 3.15
Brown
#A52A2A
ΔE00 3.79
Scarlet
#BE0119
ΔE00 4.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7251B #1B9DA7
analogous
#A71B57 #A7251B #A76B1B
triadic
#A7251B #1BA725 #251BA7
tetradic
#A7251B #57A71B #1B9DA7 #6B1BA7
square
#A7251B #57A71B #1B9DA7 #6B1BA7
split-complementary
#A7251B #1BA76B #1B57A7
monochromatic
#3E0E0A #721912 #A7251B #DC3124 #E46258
Accessibility & contrast
On white
7.18
#A7251B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#A7251B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A7251B
7.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7251B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A7251B | 1.00 | 7.18 | 2.92 | 7.18 |
| #FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E4518
Deuteranopia (green-blind)
#6E6214
Tritanopia (blue-blind)
#B80024
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #a7251b; /* rgb */ color: rgb(167, 37, 27); /* oklch */ color: oklch(47.8% 0.168 29.3);
Tailwind
colors: {
custom: {
50: '#cb6b59',
500: '#a7251b',
950: '#000000',
},
}SCSS
$custom: #a7251b; $custom-light: #cb6b59; $custom-dark: #000000;
JSON
{
"hex": "#a7251b",
"rgb": {
"r": 167,
"g": 37,
"b": 27
},
"hsl": {
"h": 4.286,
"s": 72.165,
"l": 38.039
},
"oklch": {
"l": 0.47802,
"c": 0.16776,
"h": 29.3
},
"luminance": 0.09618
}Semantic roles & 50–950 ramp
primary
#A7251B
secondary
#56BFC8
accent
#E2EF39
background
#FDF6F5
surface
#FBECE9
border
#D4C7C5
text
#150703
muted
#837A78