#AB4545#AB4545
#AB4545 is a mid, vivid red. Relative luminance 0.133; OKLCH L 52.7% C 0.135 H 22.9°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #AB4545 |
|---|---|
| RGB | rgb(171, 69, 69) |
| HSL | hsl(0, 43%, 47%) |
| HSV | hsv(0, 60%, 67%) |
| CMYK | cmyk(0%, 59.6%, 59.6%, 32.9%) |
| CIE-LAB | lab(43.28, 41.87, 21.51) |
| CIE-LCH | lch(43.28, 47.07, 27.19°) |
| OKLab | oklab(52.71% 0.124 0.0523) |
| OKLCH | oklch(52.71% 0.135 22.9) |
| XYZ | xyz(19.9987, 13.3464, 7.1521) |
| Luminance | 0.1334 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dusty Red
#B9484E
ΔE00 3.49
Dull Red
#BB3F3F
ΔE00 3.51
Reddish
#C44240
ΔE00 5.39
Cardinal
#C41E3A
ΔE00 6.31
Brown
#A52A2A
ΔE00 6.56
Light Maroon
#A24857
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB4545 #45ABAB
analogous
#AB4578 #AB4545 #AB7845
triadic
#AB4545 #45AB45 #4545AB
tetradic
#AB4545 #78AB45 #45ABAB #7845AB
square
#AB4545 #78AB45 #45ABAB #7845AB
split-complementary
#AB4545 #45AB78 #4578AB
monochromatic
#542222 #7F3333 #AB4545 #C36A6A #D59696
Accessibility & contrast
On white
5.72
#AB4545 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.67
#AB4545 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB4545
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB4545 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB4545 | 1.00 | 5.72 | 3.67 | 5.72 |
| #FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E5944
Deuteranopia (green-blind)
#786E43
Tritanopia (blue-blind)
#BB3246
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #ab4545; /* rgb */ color: rgb(171, 69, 69); /* oklch */ color: oklch(52.7% 0.135 22.9);
Tailwind
colors: {
custom: {
50: '#ca7d78',
500: '#ab4545',
950: '#000000',
},
}SCSS
$custom: #ab4545; $custom-light: #ca7d78; $custom-dark: #000000;
JSON
{
"hex": "#ab4545",
"rgb": {
"r": 171,
"g": 69,
"b": 69
},
"hsl": {
"h": 0,
"s": 42.5,
"l": 47.059
},
"oklch": {
"l": 0.52713,
"c": 0.1346,
"h": 22.9
},
"luminance": 0.13344
}Semantic roles & 50–950 ramp
primary
#AB4545
secondary
#8BC0C0
accent
#D2D256
background
#FDF7F7
surface
#FAEEED
border
#D3C9C8
text
#140A09
muted
#837C7B