#AB2B45#AB2B45
#AB2B45 is a mid, vivid red. Relative luminance 0.108; OKLCH L 49.7% C 0.164 H 14.1°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2B45 |
|---|---|
| RGB | rgb(171, 43, 69) |
| HSL | hsl(348, 60%, 42%) |
| HSV | hsv(348, 75%, 67%) |
| CMYK | cmyk(0%, 74.9%, 59.6%, 32.9%) |
| CIE-LAB | lab(39.27, 52.74, 16.22) |
| CIE-LCH | lch(39.27, 55.18, 17.09°) |
| OKLab | oklab(49.72% 0.1586 0.04) |
| OKLCH | oklch(49.72% 0.164 14.1) |
| XYZ | xyz(18.7345, 10.8181, 6.7307) |
| Luminance | 0.1081 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 3.13
Rose Red
#BE013C
ΔE00 4.19
Raspberry (survey)
#B00149
ΔE00 4.69
Purplish Red
#B0054B
ΔE00 4.92
Ruby
#CA0147
ΔE00 5.40
Cranberry
#9E003A
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2B45 #2BAB91
analogous
#AB2B85 #AB2B45 #AB512B
triadic
#AB2B45 #45AB2B #2B45AB
tetradic
#AB2B45 #85AB2B #2BAB91 #512BAB
square
#AB2B45 #85AB2B #2BAB91 #512BAB
split-complementary
#AB2B45 #2BAB51 #2B85AB
monochromatic
#49121E #7A1F31 #AB2B45 #D04360 #DC7489
Accessibility & contrast
On white
6.64
#AB2B45 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#AB2B45 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2B45
6.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2B45 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2B45 | 1.00 | 6.64 | 3.16 | 6.64 |
| #FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E4C45
Deuteranopia (green-blind)
#6E6642
Tritanopia (blue-blind)
#BB0036
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #ab2b45; /* rgb */ color: rgb(171, 43, 69); /* oklch */ color: oklch(49.7% 0.164 14.1);
Tailwind
colors: {
custom: {
50: '#cb6f78',
500: '#ab2b45',
950: '#000000',
},
}SCSS
$custom: #ab2b45; $custom-light: #cb6f78; $custom-dark: #000000;
JSON
{
"hex": "#ab2b45",
"rgb": {
"r": 171,
"g": 43,
"b": 69
},
"hsl": {
"h": 347.813,
"s": 59.813,
"l": 41.961
},
"oklch": {
"l": 0.49717,
"c": 0.16357,
"h": 14.1
},
"luminance": 0.10815
}Semantic roles & 50–950 ramp
primary
#AB2B45
secondary
#6EC4B2
accent
#E3C345
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150808
muted
#837B7B