#AB4040#AB4040
#AB4040 is a mid, vivid red. Relative luminance 0.127; OKLCH L 51.9% C 0.141 H 23.4°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #AB4040 |
|---|---|
| RGB | rgb(171, 64, 64) |
| HSL | hsl(0, 46%, 46%) |
| HSV | hsv(0, 63%, 67%) |
| CMYK | cmyk(0%, 62.6%, 62.6%, 32.9%) |
| CIE-LAB | lab(42.30, 43.86, 23.29) |
| CIE-LCH | lch(42.30, 49.66, 27.97°) |
| OKLab | oklab(51.95% 0.1294 0.0559) |
| OKLCH | oklch(51.95% 0.141 23.4) |
| XYZ | xyz(19.5552, 12.6975, 6.2706) |
| Luminance | 0.1270 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 3.31
Dusty Red
#B9484E
ΔE00 4.33
Brown
#A52A2A
ΔE00 5.31
Reddish
#C44240
ΔE00 5.43
Cardinal
#C41E3A
ΔE00 5.69
Lipstick Red
#C0022F
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB4040 #40ABAB
analogous
#AB4075 #AB4040 #AB7540
triadic
#AB4040 #40AB40 #4040AB
tetradic
#AB4040 #75AB40 #40ABAB #7540AB
square
#AB4040 #75AB40 #40ABAB #7540AB
split-complementary
#AB4040 #40AB75 #4075AB
monochromatic
#521F1F #7E2F2F #AB4040 #C56363 #D59090
Accessibility & contrast
On white
5.93
#AB4040 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#AB4040 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB4040
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB4040 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB4040 | 1.00 | 5.93 | 3.54 | 5.93 |
| #FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B563F
Deuteranopia (green-blind)
#766C3D
Tritanopia (blue-blind)
#BB2A41
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #ab4040; /* rgb */ color: rgb(171, 64, 64); /* oklch */ color: oklch(51.9% 0.141 23.4);
Tailwind
colors: {
custom: {
50: '#ca7a74',
500: '#ab4040',
950: '#000000',
},
}SCSS
$custom: #ab4040; $custom-light: #ca7a74; $custom-dark: #000000;
JSON
{
"hex": "#ab4040",
"rgb": {
"r": 171,
"g": 64,
"b": 64
},
"hsl": {
"h": 0,
"s": 45.532,
"l": 46.078
},
"oklch": {
"l": 0.51949,
"c": 0.14099,
"h": 23.4
},
"luminance": 0.12695
}Semantic roles & 50–950 ramp
primary
#AB4040
secondary
#86C1C1
accent
#D5D553
background
#FDF7F7
surface
#FAEEED
border
#D3C9C8
text
#140908
muted
#837B7B