#AB2A36#AB2A36
#AB2A36 is a mid, vivid red. Relative luminance 0.106; OKLCH L 49.3% C 0.165 H 20.9°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2A36 |
|---|---|
| RGB | rgb(171, 42, 54) |
| HSL | hsl(354, 61%, 42%) |
| HSV | hsv(354, 75%, 67%) |
| CMYK | cmyk(0%, 75.4%, 68.4%, 32.9%) |
| CIE-LAB | lab(38.87, 52.16, 25.10) |
| CIE-LCH | lch(38.87, 57.89, 25.70°) |
| OKLab | oklab(49.33% 0.1537 0.0588) |
| OKLCH | oklch(49.33% 0.165 20.9) |
| XYZ | xyz(18.2904, 10.5830, 4.5689) |
| Luminance | 0.1058 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 3.66
Lipstick Red
#C0022F
ΔE00 4.03
Rouge
#AB1239
ΔE00 4.25
Cardinal
#C41E3A
ΔE00 4.56
Rose Red
#BE013C
ΔE00 4.73
Firebrick
#B22222
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2A36 #2AAB9F
analogous
#AB2A76 #AB2A36 #AB5F2A
triadic
#AB2A36 #36AB2A #2A36AB
tetradic
#AB2A36 #76AB2A #2AAB9F #5F2AAB
square
#AB2A36 #76AB2A #2AAB9F #5F2AAB
split-complementary
#AB2A36 #2AAB5F #2A76AB
monochromatic
#491217 #7A1E26 #AB2A36 #D1424F #DD737D
Accessibility & contrast
On white
6.74
#AB2A36 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#AB2A36 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2A36
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2A36 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2A36 | 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)
#4F4A35
Deuteranopia (green-blind)
#706532
Tritanopia (blue-blind)
#BC0030
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #ab2a36; /* rgb */ color: rgb(171, 42, 54); /* oklch */ color: oklch(49.3% 0.165 20.9);
Tailwind
colors: {
custom: {
50: '#cc6e6d',
500: '#ab2a36',
950: '#000000',
},
}SCSS
$custom: #ab2a36; $custom-light: #cc6e6d; $custom-dark: #000000;
JSON
{
"hex": "#ab2a36",
"rgb": {
"r": 171,
"g": 42,
"b": 54
},
"hsl": {
"h": 354.419,
"s": 60.563,
"l": 41.765
},
"oklch": {
"l": 0.49327,
"c": 0.16461,
"h": 20.9
},
"luminance": 0.1058
}Semantic roles & 50–950 ramp
primary
#AB2A36
secondary
#6DC4BC
accent
#E4D544
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150807
muted
#837B7A