#AB4540#AB4540
#AB4540 is a mid, vivid red. Relative luminance 0.133; OKLCH L 52.6% C 0.135 H 25.6°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).
Color values
| HEX | #AB4540 |
|---|---|
| RGB | rgb(171, 69, 64) |
| HSL | hsl(3, 46%, 46%) |
| HSV | hsv(3, 63%, 67%) |
| CMYK | cmyk(0%, 59.6%, 62.6%, 32.9%) |
| CIE-LAB | lab(43.19, 41.51, 24.42) |
| CIE-LCH | lch(43.19, 48.16, 30.47°) |
| OKLab | oklab(52.62% 0.122 0.0585) |
| OKLCH | oklch(52.62% 0.135 25.6) |
| XYZ | xyz(19.8500, 13.2869, 6.3688) |
| Luminance | 0.1328 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 3.17
Dusty Red
#B9484E
ΔE00 4.60
Reddish
#C44240
ΔE00 4.93
Brown
#A52A2A
ΔE00 5.87
Cardinal
#C41E3A
ΔE00 6.75
Firebrick
#B22222
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB4540 #40A6AB
analogous
#AB4070 #AB4540 #AB7A40
triadic
#AB4540 #40AB45 #4540AB
tetradic
#AB4540 #70AB40 #40A6AB #7A40AB
square
#AB4540 #70AB40 #40A6AB #7A40AB
split-complementary
#AB4540 #40AB7A #4070AB
monochromatic
#52211F #7E332F #AB4540 #C56863 #D59390
Accessibility & contrast
On white
5.74
#AB4540 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.66
#AB4540 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB4540
5.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB4540 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB4540 | 1.00 | 5.74 | 3.66 | 5.74 |
| #FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F583F
Deuteranopia (green-blind)
#786E3E
Tritanopia (blue-blind)
#BB3144
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #ab4540; /* rgb */ color: rgb(171, 69, 64); /* oklch */ color: oklch(52.6% 0.135 25.6);
Tailwind
colors: {
custom: {
50: '#ca7d75',
500: '#ab4540',
950: '#000000',
},
}SCSS
$custom: #ab4540; $custom-light: #ca7d75; $custom-dark: #000000;
JSON
{
"hex": "#ab4540",
"rgb": {
"r": 171,
"g": 69,
"b": 64
},
"hsl": {
"h": 2.804,
"s": 45.532,
"l": 46.078
},
"oklch": {
"l": 0.52618,
"c": 0.13531,
"h": 25.6
},
"luminance": 0.13284
}Semantic roles & 50–950 ramp
primary
#AB4540
secondary
#86BEC1
accent
#CFD553
background
#FDF7F7
surface
#FAEEED
border
#D3C9C8
text
#140A08
muted
#837C7B