#A7242F#A7242F
#A7242F is a mid, vivid red. Relative luminance 0.097; OKLCH L 48.0% C 0.166 H 22.2°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).
Color values
| HEX | #A7242F |
|---|---|
| RGB | rgb(167, 36, 47) |
| HSL | hsl(355, 65%, 40%) |
| HSV | hsv(355, 78%, 65%) |
| CMYK | cmyk(0%, 78.4%, 71.9%, 34.5%) |
| CIE-LAB | lab(37.27, 52.55, 27.31) |
| CIE-LCH | lch(37.27, 59.22, 27.46°) |
| OKLab | oklab(47.97% 0.154 0.0627) |
| OKLCH | oklch(47.97% 0.166 22.2) |
| XYZ | xyz(17.0823, 9.6851, 3.6587) |
| Luminance | 0.0968 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.48
Lipstick Red
#C0022F
ΔE00 4.42
Rouge
#AB1239
ΔE00 4.82
Firebrick
#B22222
ΔE00 4.86
Carmine
#9D0216
ΔE00 5.65
Cardinal
#C41E3A
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7242F #24A79C
analogous
#A72470 #A7242F #A75B24
triadic
#A7242F #2FA724 #242FA7
tetradic
#A7242F #70A724 #24A79C #5B24A7
square
#A7242F #70A724 #24A79C #5B24A7
split-complementary
#A7242F #24A75B #2470A7
monochromatic
#420E13 #751921 #A7242F #D33542 #DE6771
Accessibility & contrast
On white
7.15
#A7242F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#A7242F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A7242F
7.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7242F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A7242F | 1.00 | 7.15 | 2.94 | 7.15 |
| #FFFFFF | 7.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C462E
Deuteranopia (green-blind)
#6C622B
Tritanopia (blue-blind)
#B8002A
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #a7242f; /* rgb */ color: rgb(167, 36, 47); /* oklch */ color: oklch(48.0% 0.166 22.2);
Tailwind
colors: {
custom: {
50: '#c96b67',
500: '#a7242f',
950: '#000000',
},
}SCSS
$custom: #a7242f; $custom-light: #c96b67; $custom-dark: #000000;
JSON
{
"hex": "#a7242f",
"rgb": {
"r": 167,
"g": 36,
"b": 47
},
"hsl": {
"h": 354.962,
"s": 64.532,
"l": 39.804
},
"oklch": {
"l": 0.47965,
"c": 0.16625,
"h": 22.2
},
"luminance": 0.09682
}Semantic roles & 50–950 ramp
primary
#A7242F
secondary
#63C4BC
accent
#E8D940
background
#FDF6F6
surface
#FAECEB
border
#D3C7C6
text
#150706
muted
#837A7A