#A42838#A42838
#A42838 is a mid, vivid red. Relative luminance 0.097; OKLCH L 47.9% C 0.159 H 18.8°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).
Color values
| HEX | #A42838 |
|---|---|
| RGB | rgb(164, 40, 56) |
| HSL | hsl(352, 61%, 40%) |
| HSV | hsv(352, 76%, 64%) |
| CMYK | cmyk(0%, 75.6%, 65.9%, 35.7%) |
| CIE-LAB | lab(37.30, 50.80, 21.59) |
| CIE-LCH | lch(37.30, 55.19, 23.02°) |
| OKLab | oklab(47.92% 0.1508 0.0514) |
| OKLCH | oklch(47.92% 0.159 18.8) |
| XYZ | xyz(16.7842, 9.6981, 4.7288) |
| Luminance | 0.0970 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 2.85
Rose Red
#BE013C
ΔE00 4.86
Brown
#A52A2A
ΔE00 5.01
Lipstick Red
#C0022F
ΔE00 5.61
Cardinal
#C41E3A
ΔE00 6.06
Cranberry
#9E003A
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A42838 #28A494
analogous
#A42876 #A42838 #A45628
triadic
#A42838 #38A428 #2838A4
tetradic
#A42838 #76A428 #28A494 #5628A4
square
#A42838 #76A428 #28A494 #5628A4
split-complementary
#A42838 #28A456 #2876A4
monochromatic
#421016 #731C27 #A42838 #CF3A4D #DB6B7A
Accessibility & contrast
On white
7.14
#A42838 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.94
#A42838 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A42838
7.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A42838 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A42838 | 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)
#4B4738
Deuteranopia (green-blind)
#6B6134
Tritanopia (blue-blind)
#B4002F
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #a42838; /* rgb */ color: rgb(164, 40, 56); /* oklch */ color: oklch(47.9% 0.159 18.8);
Tailwind
colors: {
custom: {
50: '#c66d6e',
500: '#a42838',
950: '#000000',
},
}SCSS
$custom: #a42838; $custom-light: #c66d6e; $custom-dark: #000000;
JSON
{
"hex": "#a42838",
"rgb": {
"r": 164,
"g": 40,
"b": 56
},
"hsl": {
"h": 352.258,
"s": 60.784,
"l": 40
},
"oklch": {
"l": 0.47923,
"c": 0.15928,
"h": 18.8
},
"luminance": 0.09696
}Semantic roles & 50–950 ramp
primary
#A42838
secondary
#66C1B6
accent
#E4CF44
background
#FDF6F6
surface
#FAECEB
border
#D3C7C6
text
#140807
muted
#837B7A