#AB2A37#AB2A37
#AB2A37 is a mid, vivid red. Relative luminance 0.106; OKLCH L 49.3% C 0.165 H 20.5°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2A37 |
|---|---|
| RGB | rgb(171, 42, 55) |
| HSL | hsl(354, 61%, 42%) |
| HSV | hsv(354, 75%, 67%) |
| CMYK | cmyk(0%, 75.4%, 67.8%, 32.9%) |
| CIE-LAB | lab(38.89, 52.22, 24.50) |
| CIE-LCH | lch(38.89, 57.68, 25.14°) |
| OKLab | oklab(49.35% 0.1541 0.0576) |
| OKLCH | oklch(49.35% 0.165 20.5) |
| XYZ | xyz(18.3141, 10.5925, 4.6939) |
| Luminance | 0.1059 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 3.97
Rouge
#AB1239
ΔE00 3.99
Lipstick Red
#C0022F
ΔE00 4.12
Rose Red
#BE013C
ΔE00 4.53
Cardinal
#C41E3A
ΔE00 4.54
Dull Red
#BB3F3F
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2A37 #2AAB9E
analogous
#AB2A78 #AB2A37 #AB5D2A
triadic
#AB2A37 #37AB2A #2A37AB
tetradic
#AB2A37 #78AB2A #2AAB9E #5D2AAB
square
#AB2A37 #78AB2A #2AAB9E #5D2AAB
split-complementary
#AB2A37 #2AAB5D #2A78AB
monochromatic
#491217 #7A1E27 #AB2A37 #D14250 #DD737D
Accessibility & contrast
On white
6.74
#AB2A37 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#AB2A37 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2A37
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2A37 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2A37 | 1.00 | 6.74 | 3.12 | 6.74 |
| #FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F4A36
Deuteranopia (green-blind)
#706533
Tritanopia (blue-blind)
#BC0030
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #ab2a37; /* rgb */ color: rgb(171, 42, 55); /* oklch */ color: oklch(49.3% 0.165 20.5);
Tailwind
colors: {
custom: {
50: '#cc6e6d',
500: '#ab2a37',
950: '#000000',
},
}SCSS
$custom: #ab2a37; $custom-light: #cc6e6d; $custom-dark: #000000;
JSON
{
"hex": "#ab2a37",
"rgb": {
"r": 171,
"g": 42,
"b": 55
},
"hsl": {
"h": 353.953,
"s": 60.563,
"l": 41.765
},
"oklch": {
"l": 0.49345,
"c": 0.16455,
"h": 20.5
},
"luminance": 0.1059
}Semantic roles & 50–950 ramp
primary
#AB2A37
secondary
#6DC4BB
accent
#E4D444
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150807
muted
#837B7A