#AB2A33#AB2A33
#AB2A33 is a mid, vivid red. Relative luminance 0.106; OKLCH L 49.3% C 0.165 H 22.2°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2A33 |
|---|---|
| RGB | rgb(171, 42, 51) |
| HSL | hsl(356, 61%, 42%) |
| HSV | hsv(356, 75%, 67%) |
| CMYK | cmyk(0%, 75.4%, 70.2%, 32.9%) |
| CIE-LAB | lab(38.82, 52.01, 26.89) |
| CIE-LCH | lch(38.82, 58.55, 27.34°) |
| OKLab | oklab(49.28% 0.1526 0.0623) |
| OKLCH | oklch(49.28% 0.165 22.2) |
| XYZ | xyz(18.2221, 10.5556, 4.2093) |
| Luminance | 0.1055 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.75
Lipstick Red
#C0022F
ΔE00 3.93
Firebrick
#B22222
ΔE00 4.73
Cardinal
#C41E3A
ΔE00 4.76
Rouge
#AB1239
ΔE00 5.08
Rose Red
#BE013C
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2A33 #2AABA2
analogous
#AB2A74 #AB2A33 #AB622A
triadic
#AB2A33 #33AB2A #2A33AB
tetradic
#AB2A33 #74AB2A #2AABA2 #622AAB
square
#AB2A33 #74AB2A #2AABA2 #622AAB
split-complementary
#AB2A33 #2AAB62 #2A74AB
monochromatic
#491216 #7A1E24 #AB2A33 #D1424C #DD737A
Accessibility & contrast
On white
6.75
#AB2A33 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#AB2A33 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2A33
6.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2A33 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2A33 | 1.00 | 6.75 | 3.11 | 6.75 |
| #FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#504A32
Deuteranopia (green-blind)
#70652F
Tritanopia (blue-blind)
#BC002F
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #ab2a33; /* rgb */ color: rgb(171, 42, 51); /* oklch */ color: oklch(49.3% 0.165 22.2);
Tailwind
colors: {
custom: {
50: '#cc6e6a',
500: '#ab2a33',
950: '#000000',
},
}SCSS
$custom: #ab2a33; $custom-light: #cc6e6a; $custom-dark: #000000;
JSON
{
"hex": "#ab2a33",
"rgb": {
"r": 171,
"g": 42,
"b": 51
},
"hsl": {
"h": 355.814,
"s": 60.563,
"l": 41.765
},
"oklch": {
"l": 0.49277,
"c": 0.16483,
"h": 22.2
},
"luminance": 0.10553
}Semantic roles & 50–950 ramp
primary
#AB2A33
secondary
#6DC4BE
accent
#E4D944
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A