#A42840#A42840
#A42840 is a mid, vivid red. Relative luminance 0.098; OKLCH L 48.1% C 0.159 H 14.9°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).
Color values
| HEX | #A42840 |
|---|---|
| RGB | rgb(164, 40, 64) |
| HSL | hsl(348, 61%, 40%) |
| HSV | hsv(348, 76%, 64%) |
| CMYK | cmyk(0%, 75.6%, 61%, 35.7%) |
| CIE-LAB | lab(37.45, 51.30, 16.72) |
| CIE-LCH | lch(37.45, 53.96, 18.05°) |
| OKLab | oklab(48.09% 0.154 0.041) |
| OKLCH | oklch(48.09% 0.159 14.9) |
| XYZ | xyz(16.9958, 9.7827, 5.8428) |
| Luminance | 0.0978 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 2.42
Cranberry
#9E003A
ΔE00 4.45
Rose Red
#BE013C
ΔE00 4.86
Raspberry (survey)
#B00149
ΔE00 5.00
Purplish Red
#B0054B
ΔE00 5.30
Ruby
#CA0147
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A42840 #28A48C
analogous
#A4287E #A42840 #A44E28
triadic
#A42840 #40A428 #2840A4
tetradic
#A42840 #7EA428 #28A48C #4E28A4
square
#A42840 #7EA428 #28A48C #4E28A4
split-complementary
#A42840 #28A44E #287EA4
monochromatic
#42101A #731C2D #A42840 #CF3A57 #DB6B81
Accessibility & contrast
On white
7.10
#A42840 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#A42840 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #A42840
7.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A42840 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A42840 | 1.00 | 7.10 | 2.96 | 7.10 |
| #FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A4840
Deuteranopia (green-blind)
#6A613D
Tritanopia (blue-blind)
#B40032
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #a42840; /* rgb */ color: rgb(164, 40, 64); /* oklch */ color: oklch(48.1% 0.159 14.9);
Tailwind
colors: {
custom: {
50: '#c66d74',
500: '#a42840',
950: '#000000',
},
}SCSS
$custom: #a42840; $custom-light: #c66d74; $custom-dark: #000000;
JSON
{
"hex": "#a42840",
"rgb": {
"r": 164,
"g": 40,
"b": 64
},
"hsl": {
"h": 348.387,
"s": 60.784,
"l": 40
},
"oklch": {
"l": 0.48088,
"c": 0.15933,
"h": 14.9
},
"luminance": 0.0978
}Semantic roles & 50–950 ramp
primary
#A42840
secondary
#66C1B0
accent
#E4C544
background
#FDF6F7
surface
#FAECED
border
#D3C7C8
text
#140808
muted
#837B7B