#AB4642#AB4642
#AB4642 is a mid, vivid red. Relative luminance 0.134; OKLCH L 52.8% C 0.134 H 25.0°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).
Color values
| HEX | #AB4642 |
|---|---|
| RGB | rgb(171, 70, 66) |
| HSL | hsl(2, 44%, 46%) |
| HSV | hsv(2, 61%, 67%) |
| CMYK | cmyk(0%, 59.1%, 61.4%, 32.9%) |
| CIE-LAB | lab(43.41, 41.17, 23.49) |
| CIE-LCH | lch(43.41, 47.40, 29.71°) |
| OKLab | oklab(52.79% 0.1213 0.0566) |
| OKLCH | oklch(52.79% 0.134 25) |
| XYZ | xyz(19.9699, 13.4341, 6.6946) |
| Luminance | 0.1343 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dull Red
#BB3F3F
ΔE00 3.21
Dusty Red
#B9484E
ΔE00 4.20
Reddish
#C44240
ΔE00 4.97
Brown
#A52A2A
ΔE00 6.22
Cardinal
#C41E3A
ΔE00 6.75
Firebrick
#B22222
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB4642 #42A7AB
analogous
#AB4273 #AB4642 #AB7B42
triadic
#AB4642 #42AB46 #4642AB
tetradic
#AB4642 #73AB42 #42A7AB #7B42AB
square
#AB4642 #73AB42 #42A7AB #7B42AB
split-complementary
#AB4642 #42AB7B #4273AB
monochromatic
#532220 #7F3431 #AB4642 #C46A66 #D59592
Accessibility & contrast
On white
5.70
#AB4642 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#AB4642 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB4642
5.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB4642 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB4642 | 1.00 | 5.70 | 3.69 | 5.70 |
| #FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F5941
Deuteranopia (green-blind)
#796F40
Tritanopia (blue-blind)
#BB3346
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #ab4642; /* rgb */ color: rgb(171, 70, 66); /* oklch */ color: oklch(52.8% 0.134 25.0);
Tailwind
colors: {
custom: {
50: '#ca7d76',
500: '#ab4642',
950: '#000000',
},
}SCSS
$custom: #ab4642; $custom-light: #ca7d76; $custom-dark: #000000;
JSON
{
"hex": "#ab4642",
"rgb": {
"r": 171,
"g": 70,
"b": 66
},
"hsl": {
"h": 2.286,
"s": 44.304,
"l": 46.471
},
"oklch": {
"l": 0.52793,
"c": 0.13384,
"h": 25
},
"luminance": 0.13432
}Semantic roles & 50–950 ramp
primary
#AB4642
secondary
#88BEC0
accent
#CFD454
background
#FDF7F7
surface
#FAEEED
border
#D3C9C8
text
#140A08
muted
#837C7B