#AB2C26#AB2C26
#AB2C26 is a mid, vivid red. Relative luminance 0.106; OKLCH L 49.3% C 0.165 H 27.7°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2C26 |
|---|---|
| RGB | rgb(171, 44, 38) |
| HSL | hsl(3, 64%, 41%) |
| HSV | hsv(3, 78%, 67%) |
| CMYK | cmyk(0%, 74.3%, 77.8%, 32.9%) |
| CIE-LAB | lab(38.90, 50.74, 34.73) |
| CIE-LCH | lch(38.90, 61.48, 34.39°) |
| OKLab | oklab(49.28% 0.1457 0.0766) |
| OKLCH | oklch(49.28% 0.165 27.7) |
| XYZ | xyz(18.0472, 10.6020, 2.9295) |
| Luminance | 0.1060 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 1.56
Brown
#A52A2A
ΔE00 2.27
Brick
#A03623
ΔE00 3.52
Brownish Red
#9E3623
ΔE00 3.73
Scarlet
#BE0119
ΔE00 4.03
Darkish Red
#A90308
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2C26 #26A5AB
analogous
#AB2662 #AB2C26 #AB6E26
triadic
#AB2C26 #26AB2C #2C26AB
tetradic
#AB2C26 #62AB26 #26A5AB #6E26AB
square
#AB2C26 #62AB26 #26A5AB #6E26AB
split-complementary
#AB2C26 #26AB6E #2662AB
monochromatic
#471210 #791F1B #AB2C26 #D3423B #DF726D
Accessibility & contrast
On white
6.73
#AB2C26 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#AB2C26 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2C26
6.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2C26 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2C26 | 1.00 | 6.73 | 3.12 | 6.73 |
| #FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#524A24
Deuteranopia (green-blind)
#726621
Tritanopia (blue-blind)
#BD002C
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #ab2c26; /* rgb */ color: rgb(171, 44, 38); /* oklch */ color: oklch(49.3% 0.165 27.7);
Tailwind
colors: {
custom: {
50: '#cd6f61',
500: '#ab2c26',
950: '#000000',
},
}SCSS
$custom: #ab2c26; $custom-light: #cd6f61; $custom-dark: #000000;
JSON
{
"hex": "#ab2c26",
"rgb": {
"r": 171,
"g": 44,
"b": 38
},
"hsl": {
"h": 2.707,
"s": 63.636,
"l": 40.98
},
"oklch": {
"l": 0.49282,
"c": 0.16461,
"h": 27.7
},
"luminance": 0.10599
}Semantic roles & 50–950 ramp
primary
#AB2C26
secondary
#68C1C5
accent
#DFE741
background
#FDF7F5
surface
#FBEDEA
border
#D4C8C6
text
#150805
muted
#837B79