#AB2A35#AB2A35
#AB2A35 is a mid, vivid red. Relative luminance 0.106; OKLCH L 49.3% C 0.165 H 21.4°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2A35 |
|---|---|
| RGB | rgb(171, 42, 53) |
| HSL | hsl(355, 61%, 42%) |
| HSV | hsv(355, 75%, 67%) |
| CMYK | cmyk(0%, 75.4%, 69%, 32.9%) |
| CIE-LAB | lab(38.85, 52.11, 25.70) |
| CIE-LCH | lch(38.85, 58.10, 26.25°) |
| OKLab | oklab(49.31% 0.1534 0.06) |
| OKLCH | oklch(49.31% 0.165 21.4) |
| XYZ | xyz(18.2672, 10.5737, 4.4465) |
| Luminance | 0.1057 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 3.35
Lipstick Red
#C0022F
ΔE00 3.97
Rouge
#AB1239
ΔE00 4.52
Cardinal
#C41E3A
ΔE00 4.60
Rose Red
#BE013C
ΔE00 4.95
Firebrick
#B22222
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2A35 #2AABA0
analogous
#AB2A76 #AB2A35 #AB602A
triadic
#AB2A35 #35AB2A #2A35AB
tetradic
#AB2A35 #76AB2A #2AABA0 #602AAB
square
#AB2A35 #76AB2A #2AABA0 #602AAB
split-complementary
#AB2A35 #2AAB60 #2A76AB
monochromatic
#491217 #7A1E26 #AB2A35 #D1424E #DD737C
Accessibility & contrast
On white
6.74
#AB2A35 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#AB2A35 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2A35
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2A35 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2A35 | 1.00 | 6.74 | 3.11 | 6.74 |
| #FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F4A34
Deuteranopia (green-blind)
#706531
Tritanopia (blue-blind)
#BC002F
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #ab2a35; /* rgb */ color: rgb(171, 42, 53); /* oklch */ color: oklch(49.3% 0.165 21.4);
Tailwind
colors: {
custom: {
50: '#cc6e6c',
500: '#ab2a35',
950: '#000000',
},
}SCSS
$custom: #ab2a35; $custom-light: #cc6e6c; $custom-dark: #000000;
JSON
{
"hex": "#ab2a35",
"rgb": {
"r": 171,
"g": 42,
"b": 53
},
"hsl": {
"h": 354.884,
"s": 60.563,
"l": 41.765
},
"oklch": {
"l": 0.4931,
"c": 0.16468,
"h": 21.4
},
"luminance": 0.10571
}Semantic roles & 50–950 ramp
primary
#AB2A35
secondary
#6DC4BC
accent
#E4D644
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150807
muted
#837B7A