#AB2A27#AB2A27
#AB2A27 is a mid, vivid red. Relative luminance 0.105; OKLCH L 49.1% C 0.166 H 26.8°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2A27 |
|---|---|
| RGB | rgb(171, 42, 39) |
| HSL | hsl(1, 63%, 41%) |
| HSV | hsv(1, 77%, 67%) |
| CMYK | cmyk(0%, 75.4%, 77.2%, 32.9%) |
| CIE-LAB | lab(38.66, 51.48, 33.89) |
| CIE-LCH | lch(38.66, 61.63, 33.36°) |
| OKLab | oklab(49.11% 0.1483 0.075) |
| OKLCH | oklch(49.11% 0.166 26.8) |
| XYZ | xyz(17.9909, 10.4631, 2.9914) |
| Luminance | 0.1046 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 1.58
Brown
#A52A2A
ΔE00 1.72
Brick
#A03623
ΔE00 4.07
Scarlet
#BE0119
ΔE00 4.07
Brownish Red
#9E3623
ΔE00 4.24
Carmine
#9D0216
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2A27 #27A8AB
analogous
#AB2766 #AB2A27 #AB6C27
triadic
#AB2A27 #27AB2A #2A27AB
tetradic
#AB2A27 #66AB27 #27A8AB #6C27AB
square
#AB2A27 #66AB27 #27A8AB #6C27AB
split-complementary
#AB2A27 #27AB6C #2766AB
monochromatic
#471210 #791E1C #AB2A27 #D3403D #DE716E
Accessibility & contrast
On white
6.79
#AB2A27 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#AB2A27 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2A27
6.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2A27 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2A27 | 1.00 | 6.79 | 3.09 | 6.79 |
| #FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#514925
Deuteranopia (green-blind)
#716522
Tritanopia (blue-blind)
#BD002B
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #ab2a27; /* rgb */ color: rgb(171, 42, 39); /* oklch */ color: oklch(49.1% 0.166 26.8);
Tailwind
colors: {
custom: {
50: '#cd6e62',
500: '#ab2a27',
950: '#000000',
},
}SCSS
$custom: #ab2a27; $custom-light: #cd6e62; $custom-dark: #000000;
JSON
{
"hex": "#ab2a27",
"rgb": {
"r": 171,
"g": 42,
"b": 39
},
"hsl": {
"h": 1.364,
"s": 62.857,
"l": 41.176
},
"oklch": {
"l": 0.49106,
"c": 0.16616,
"h": 26.8
},
"luminance": 0.1046
}Semantic roles & 50–950 ramp
primary
#AB2A27
secondary
#69C3C5
accent
#E2E642
background
#FDF7F5
surface
#FBEDEA
border
#D4C8C6
text
#150805
muted
#837B79