#AB2A26#AB2A26
#AB2A26 is a mid, vivid red. Relative luminance 0.105; OKLCH L 49.1% C 0.166 H 27.2°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2A26 |
|---|---|
| RGB | rgb(171, 42, 38) |
| HSL | hsl(2, 64%, 41%) |
| HSV | hsv(2, 78%, 67%) |
| CMYK | cmyk(0%, 75.4%, 77.8%, 32.9%) |
| CIE-LAB | lab(38.65, 51.44, 34.46) |
| CIE-LCH | lch(38.65, 61.91, 33.82°) |
| OKLab | oklab(49.09% 0.1479 0.076) |
| OKLCH | oklch(49.09% 0.166 27.2) |
| XYZ | xyz(17.9745, 10.4566, 2.9052) |
| Luminance | 0.1045 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 1.47
Brown
#A52A2A
ΔE00 1.94
Brick
#A03623
ΔE00 3.85
Scarlet
#BE0119
ΔE00 3.97
Brownish Red
#9E3623
ΔE00 4.04
Darkish Red
#A90308
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2A26 #26A7AB
analogous
#AB2664 #AB2A26 #AB6D26
triadic
#AB2A26 #26AB2A #2A26AB
tetradic
#AB2A26 #64AB26 #26A7AB #6D26AB
square
#AB2A26 #64AB26 #26A7AB #6D26AB
split-complementary
#AB2A26 #26AB6D #2664AB
monochromatic
#471110 #791E1B #AB2A26 #D33F3B #DF706D
Accessibility & contrast
On white
6.79
#AB2A26 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#AB2A26 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2A26
6.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2A26 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2A26 | 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)
#514924
Deuteranopia (green-blind)
#716521
Tritanopia (blue-blind)
#BD002B
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #ab2a26; /* rgb */ color: rgb(171, 42, 38); /* oklch */ color: oklch(49.1% 0.166 27.2);
Tailwind
colors: {
custom: {
50: '#cd6e61',
500: '#ab2a26',
950: '#000000',
},
}SCSS
$custom: #ab2a26; $custom-light: #cd6e61; $custom-dark: #000000;
JSON
{
"hex": "#ab2a26",
"rgb": {
"r": 171,
"g": 42,
"b": 38
},
"hsl": {
"h": 1.805,
"s": 63.636,
"l": 40.98
},
"oklch": {
"l": 0.49094,
"c": 0.1663,
"h": 27.2
},
"luminance": 0.10454
}Semantic roles & 50–950 ramp
primary
#AB2A26
secondary
#68C2C5
accent
#E2E741
background
#FDF7F5
surface
#FBEDE9
border
#D4C8C5
text
#150805
muted
#837B79