#AB504B#AB504B
#AB504B is a mid, vivid red. Relative luminance 0.149; OKLCH L 54.4% C 0.121 H 25.0°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #AB504B |
|---|---|
| RGB | rgb(171, 80, 75) |
| HSL | hsl(3, 39%, 48%) |
| HSV | hsv(3, 56%, 67%) |
| CMYK | cmyk(0%, 53.2%, 56.1%, 32.9%) |
| CIE-LAB | lab(45.50, 36.85, 20.80) |
| CIE-LCH | lch(45.50, 42.32, 29.44°) |
| OKLab | oklab(54.43% 0.1093 0.0511) |
| OKLCH | oklch(54.43% 0.121 25) |
| XYZ | xyz(20.9349, 14.9057, 8.4299) |
| Luminance | 0.1490 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dusty Red
#B9484E
ΔE00 3.92
Dull Red
#BB3F3F
ΔE00 4.58
Reddish
#C44240
ΔE00 5.49
Dark Salmon
#C85A53
ΔE00 7.06
Light Maroon
#A24857
ΔE00 7.57
Dark Coral
#CF524E
ΔE00 7.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB504B #4BA6AB
analogous
#AB4B76 #AB504B #AB804B
triadic
#AB504B #4BAB50 #504BAB
tetradic
#AB504B #76AB4B #4BA6AB #804BAB
square
#AB504B #76AB4B #4BA6AB #804BAB
split-complementary
#AB504B #4BAB80 #4B76AB
monochromatic
#562826 #803C38 #AB504B #C17672 #D49F9D
Accessibility & contrast
On white
5.28
#AB504B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.98
#AB504B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB504B
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB504B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB504B | 1.00 | 5.28 | 3.98 | 5.28 |
| #FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#66604A
Deuteranopia (green-blind)
#7C7349
Tritanopia (blue-blind)
#BA414F
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #ab504b; /* rgb */ color: rgb(171, 80, 75); /* oklch */ color: oklch(54.4% 0.121 25.0);
Tailwind
colors: {
custom: {
50: '#c9847d',
500: '#ab504b',
950: '#000000',
},
}SCSS
$custom: #ab504b; $custom-light: #c9847d; $custom-dark: #000000;
JSON
{
"hex": "#ab504b",
"rgb": {
"r": 171,
"g": 80,
"b": 75
},
"hsl": {
"h": 3.125,
"s": 39.024,
"l": 48.235
},
"oklch": {
"l": 0.5443,
"c": 0.12061,
"h": 25
},
"luminance": 0.14903
}Semantic roles & 50–950 ramp
primary
#AB504B
secondary
#91BEC0
accent
#C9CF59
background
#FCF8F7
surface
#F9EFEE
border
#D2CAC9
text
#140B09
muted
#827C7B