#AB2B38#AB2B38
#AB2B38 is a mid, vivid red. Relative luminance 0.107; OKLCH L 49.5% C 0.164 H 20.3°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2B38 |
|---|---|
| RGB | rgb(171, 43, 56) |
| HSL | hsl(354, 60%, 42%) |
| HSV | hsv(354, 75%, 67%) |
| CMYK | cmyk(0%, 74.9%, 67.3%, 32.9%) |
| CIE-LAB | lab(39.03, 51.93, 24.06) |
| CIE-LCH | lch(39.03, 57.23, 24.86°) |
| OKLab | oklab(49.46% 0.1534 0.0568) |
| OKLCH | oklch(49.46% 0.164 20.3) |
| XYZ | xyz(18.3743, 10.6740, 4.8334) |
| Luminance | 0.1067 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 3.95
Brown
#A52A2A
ΔE00 4.15
Lipstick Red
#C0022F
ΔE00 4.24
Rose Red
#BE013C
ΔE00 4.47
Cardinal
#C41E3A
ΔE00 4.52
Dull Red
#BB3F3F
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2B38 #2BAB9E
analogous
#AB2B78 #AB2B38 #AB5E2B
triadic
#AB2B38 #38AB2B #2B38AB
tetradic
#AB2B38 #78AB2B #2BAB9E #5E2BAB
square
#AB2B38 #78AB2B #2BAB9E #5E2BAB
split-complementary
#AB2B38 #2BAB5E #2B78AB
monochromatic
#491218 #7A1F28 #AB2B38 #D04352 #DC747F
Accessibility & contrast
On white
6.70
#AB2B38 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#AB2B38 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2B38
6.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2B38 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2B38 | 1.00 | 6.70 | 3.13 | 6.70 |
| #FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#504B37
Deuteranopia (green-blind)
#706634
Tritanopia (blue-blind)
#BC0031
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #ab2b38; /* rgb */ color: rgb(171, 43, 56); /* oklch */ color: oklch(49.5% 0.164 20.3);
Tailwind
colors: {
custom: {
50: '#cc6f6e',
500: '#ab2b38',
950: '#000000',
},
}SCSS
$custom: #ab2b38; $custom-light: #cc6f6e; $custom-dark: #000000;
JSON
{
"hex": "#ab2b38",
"rgb": {
"r": 171,
"g": 43,
"b": 56
},
"hsl": {
"h": 353.906,
"s": 59.813,
"l": 41.961
},
"oklch": {
"l": 0.49455,
"c": 0.16358,
"h": 20.3
},
"luminance": 0.10671
}Semantic roles & 50–950 ramp
primary
#AB2B38
secondary
#6EC4BB
accent
#E3D345
background
#FDF7F6
surface
#FAEDEB
border
#D3C8C6
text
#150807
muted
#837B7A