#A7252A#A7252A
#A7252A is a mid, vivid red. Relative luminance 0.097; OKLCH L 48.0% C 0.166 H 24.4°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).
Color values
| HEX | #A7252A |
|---|---|
| RGB | rgb(167, 37, 42) |
| HSL | hsl(358, 64%, 40%) |
| HSV | hsv(358, 78%, 65%) |
| CMYK | cmyk(0%, 77.8%, 74.9%, 34.5%) |
| CIE-LAB | lab(37.31, 52.01, 30.41) |
| CIE-LCH | lch(37.31, 60.25, 30.31°) |
| OKLab | oklab(47.97% 0.1511 0.0685) |
| OKLCH | oklch(47.97% 0.166 24.4) |
| XYZ | xyz(17.0178, 9.7085, 3.1679) |
| Luminance | 0.0971 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 0.94
Firebrick
#B22222
ΔE00 3.34
Carmine
#9D0216
ΔE00 4.69
Lipstick Red
#C0022F
ΔE00 4.86
Scarlet
#BE0119
ΔE00 5.42
Brick
#A03623
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7252A #25A7A2
analogous
#A7256B #A7252A #A76125
triadic
#A7252A #2AA725 #252AA7
tetradic
#A7252A #6BA725 #25A7A2 #6125A7
square
#A7252A #6BA725 #25A7A2 #6125A7
split-complementary
#A7252A #25A761 #256BA7
monochromatic
#430F11 #751A1D #A7252A #D3373D #DE696D
Accessibility & contrast
On white
7.14
#A7252A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#A7252A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A7252A
7.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7252A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A7252A | 1.00 | 7.14 | 2.94 | 7.14 |
| #FFFFFF | 7.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D4629
Deuteranopia (green-blind)
#6D6225
Tritanopia (blue-blind)
#B80028
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #a7252a; /* rgb */ color: rgb(167, 37, 42); /* oklch */ color: oklch(48.0% 0.166 24.4);
Tailwind
colors: {
custom: {
50: '#ca6b64',
500: '#a7252a',
950: '#000000',
},
}SCSS
$custom: #a7252a; $custom-light: #ca6b64; $custom-dark: #000000;
JSON
{
"hex": "#a7252a",
"rgb": {
"r": 167,
"g": 37,
"b": 42
},
"hsl": {
"h": 357.692,
"s": 63.725,
"l": 40
},
"oklch": {
"l": 0.47974,
"c": 0.16591,
"h": 24.4
},
"luminance": 0.09706
}Semantic roles & 50–950 ramp
primary
#A7252A
secondary
#64C4C0
accent
#E7E041
background
#FDF6F5
surface
#FAECEA
border
#D3C7C6
text
#150705
muted
#837A79