#AB404F#AB404F
#AB404F is a mid, vivid red. Relative luminance 0.129; OKLCH L 52.3% C 0.140 H 15.0°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #AB404F |
|---|---|
| RGB | rgb(171, 64, 79) |
| HSL | hsl(352, 46%, 46%) |
| HSV | hsv(352, 63%, 67%) |
| CMYK | cmyk(0%, 62.6%, 53.8%, 32.9%) |
| CIE-LAB | lab(42.60, 45.01, 14.47) |
| CIE-LCH | lch(42.60, 47.28, 17.82°) |
| OKLab | oklab(52.27% 0.1355 0.0363) |
| OKLCH | oklch(52.27% 0.14 15) |
| XYZ | xyz(20.0410, 12.8918, 8.8286) |
| Luminance | 0.1289 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Light Maroon
#A24857
ΔE00 3.09
Dark Rose
#B5485D
ΔE00 3.85
Light Burgundy
#A8415B
ΔE00 4.22
Dusty Red
#B9484E
ΔE00 4.76
Rose Red
#BE013C
ΔE00 6.67
Rouge
#AB1239
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB404F #40AB9C
analogous
#AB4084 #AB404F #AB6640
triadic
#AB404F #4FAB40 #404FAB
tetradic
#AB404F #84AB40 #40AB9C #6640AB
square
#AB404F #84AB40 #40AB9C #6640AB
split-complementary
#AB404F #40AB66 #4084AB
monochromatic
#521F26 #7E2F3A #AB404F #C56371 #D5909A
Accessibility & contrast
On white
5.87
#AB404F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#AB404F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB404F
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB404F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB404F | 1.00 | 5.87 | 3.58 | 5.87 |
| #FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#59574F
Deuteranopia (green-blind)
#746D4C
Tritanopia (blue-blind)
#BA2E46
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #ab404f; /* rgb */ color: rgb(171, 64, 79); /* oklch */ color: oklch(52.3% 0.140 15.0);
Tailwind
colors: {
custom: {
50: '#c97a80',
500: '#ab404f',
950: '#000000',
},
}SCSS
$custom: #ab404f; $custom-light: #c97a80; $custom-dark: #000000;
JSON
{
"hex": "#ab404f",
"rgb": {
"r": 171,
"g": 64,
"b": 79
},
"hsl": {
"h": 351.589,
"s": 45.532,
"l": 46.078
},
"oklch": {
"l": 0.52267,
"c": 0.14028,
"h": 15
},
"luminance": 0.12889
}Semantic roles & 50–950 ramp
primary
#AB404F
secondary
#86C1B8
accent
#D5C353
background
#FDF7F7
surface
#FAEEEE
border
#D3C9C9
text
#140A0A
muted
#837C7C