#AB2E45#AB2E45
#AB2E45 is a mid, vivid red. Relative luminance 0.110; OKLCH L 50.0% C 0.161 H 14.9°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2E45 |
|---|---|
| RGB | rgb(171, 46, 69) |
| HSL | hsl(349, 58%, 43%) |
| HSV | hsv(349, 73%, 67%) |
| CMYK | cmyk(0%, 73.1%, 59.6%, 32.9%) |
| CIE-LAB | lab(39.66, 51.68, 16.73) |
| CIE-LCH | lch(39.66, 54.32, 17.94°) |
| OKLab | oklab(50% 0.1552 0.0412) |
| OKLCH | oklch(50% 0.161 14.9) |
| XYZ | xyz(18.8476, 11.0443, 6.7684) |
| Luminance | 0.1104 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 3.38
Rose Red
#BE013C
ΔE00 4.22
Raspberry (survey)
#B00149
ΔE00 5.29
Ruby
#CA0147
ΔE00 5.45
Purplish Red
#B0054B
ΔE00 5.50
Light Maroon
#A24857
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2E45 #2EAB94
analogous
#AB2E84 #AB2E45 #AB552E
triadic
#AB2E45 #45AB2E #2E45AB
tetradic
#AB2E45 #84AB2E #2EAB94 #552EAB
square
#AB2E45 #84AB2E #2EAB94 #552EAB
split-complementary
#AB2E45 #2EAB55 #2E84AB
monochromatic
#4B141E #7B2132 #AB2E45 #CE4861 #DB798B
Accessibility & contrast
On white
6.55
#AB2E45 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#AB2E45 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2E45
6.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2E45 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2E45 | 1.00 | 6.55 | 3.21 | 6.55 |
| #FFFFFF | 6.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F4D45
Deuteranopia (green-blind)
#6F6742
Tritanopia (blue-blind)
#BB0838
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #ab2e45; /* rgb */ color: rgb(171, 46, 69); /* oklch */ color: oklch(50.0% 0.161 14.9);
Tailwind
colors: {
custom: {
50: '#cb7178',
500: '#ab2e45',
950: '#000000',
},
}SCSS
$custom: #ab2e45; $custom-light: #cb7178; $custom-dark: #000000;
JSON
{
"hex": "#ab2e45",
"rgb": {
"r": 171,
"g": 46,
"b": 69
},
"hsl": {
"h": 348.96,
"s": 57.604,
"l": 42.549
},
"oklch": {
"l": 0.50001,
"c": 0.16056,
"h": 14.9
},
"luminance": 0.11042
}Semantic roles & 50–950 ramp
primary
#AB2E45
secondary
#72C3B4
accent
#E1C547
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150808
muted
#837B7B