#A42F27#A42F27
#A42F27 is a mid, vivid red. Relative luminance 0.101; OKLCH L 48.4% C 0.155 H 28.2°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).
Color values
| HEX | #A42F27 |
|---|---|
| RGB | rgb(164, 47, 39) |
| HSL | hsl(4, 62%, 40%) |
| HSV | hsv(4, 76%, 64%) |
| CMYK | cmyk(0%, 71.3%, 76.2%, 35.7%) |
| CIE-LAB | lab(37.98, 47.36, 32.76) |
| CIE-LCH | lch(37.98, 57.59, 34.67°) |
| OKLab | oklab(48.35% 0.1362 0.0731) |
| OKLCH | oklch(48.35% 0.155 28.2) |
| XYZ | xyz(16.6945, 10.0745, 2.9846) |
| Luminance | 0.1007 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 1.92
Firebrick
#B22222
ΔE00 2.80
Brick
#A03623
ΔE00 2.89
Brownish Red
#9E3623
ΔE00 2.98
Scarlet
#BE0119
ΔE00 5.24
Carmine
#9D0216
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A42F27 #279CA4
analogous
#A4275E #A42F27 #A46E27
triadic
#A42F27 #27A42F #2F27A4
tetradic
#A42F27 #5EA427 #279CA4 #6E27A4
square
#A42F27 #5EA427 #279CA4 #6E27A4
split-complementary
#A42F27 #27A46E #275EA4
monochromatic
#41130F #73211B #A42F27 #D04238 #DC716A
Accessibility & contrast
On white
6.97
#A42F27 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.01
#A42F27 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A42F27
6.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A42F27 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A42F27 | 1.00 | 6.97 | 3.01 | 6.97 |
| #FFFFFF | 6.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#514925
Deuteranopia (green-blind)
#6E6323
Tritanopia (blue-blind)
#B5012E
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #a42f27; /* rgb */ color: rgb(164, 47, 39); /* oklch */ color: oklch(48.4% 0.155 28.2);
Tailwind
colors: {
custom: {
50: '#c76f62',
500: '#a42f27',
950: '#000000',
},
}SCSS
$custom: #a42f27; $custom-light: #c76f62; $custom-dark: #000000;
JSON
{
"hex": "#a42f27",
"rgb": {
"r": 164,
"g": 47,
"b": 39
},
"hsl": {
"h": 3.84,
"s": 61.576,
"l": 39.804
},
"oklch": {
"l": 0.4835,
"c": 0.15452,
"h": 28.2
},
"luminance": 0.10072
}Semantic roles & 50–950 ramp
primary
#A42F27
secondary
#65BCC2
accent
#DAE543
background
#FDF7F5
surface
#FAEDEA
border
#D3C8C6
text
#150805
muted
#837B79