#AB2B26#AB2B26
#AB2B26 is a mid, vivid red. Relative luminance 0.105; OKLCH L 49.2% C 0.165 H 27.4°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2B26 |
|---|---|
| RGB | rgb(171, 43, 38) |
| HSL | hsl(2, 64%, 41%) |
| HSV | hsv(2, 78%, 67%) |
| CMYK | cmyk(0%, 74.9%, 77.8%, 32.9%) |
| CIE-LAB | lab(38.77, 51.09, 34.59) |
| CIE-LCH | lch(38.77, 61.70, 34.10°) |
| OKLab | oklab(49.19% 0.1468 0.0763) |
| OKLCH | oklch(49.19% 0.165 27.4) |
| XYZ | xyz(18.0104, 10.5284, 2.9172) |
| Luminance | 0.1053 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 1.50
Brown
#A52A2A
ΔE00 2.10
Brick
#A03623
ΔE00 3.68
Brownish Red
#9E3623
ΔE00 3.88
Scarlet
#BE0119
ΔE00 3.99
Darkish Red
#A90308
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2B26 #26A6AB
analogous
#AB2663 #AB2B26 #AB6D26
triadic
#AB2B26 #26AB2B #2B26AB
tetradic
#AB2B26 #63AB26 #26A6AB #6D26AB
square
#AB2B26 #63AB26 #26A6AB #6D26AB
split-complementary
#AB2B26 #26AB6D #2663AB
monochromatic
#471210 #791E1B #AB2B26 #D3413B #DF716D
Accessibility & contrast
On white
6.76
#AB2B26 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#AB2B26 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2B26
6.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2B26 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2B26 | 1.00 | 6.76 | 3.11 | 6.76 |
| #FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#524924
Deuteranopia (green-blind)
#716521
Tritanopia (blue-blind)
#BD002B
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #ab2b26; /* rgb */ color: rgb(171, 43, 38); /* oklch */ color: oklch(49.2% 0.165 27.4);
Tailwind
colors: {
custom: {
50: '#cd6f61',
500: '#ab2b26',
950: '#000000',
},
}SCSS
$custom: #ab2b26; $custom-light: #cd6f61; $custom-dark: #000000;
JSON
{
"hex": "#ab2b26",
"rgb": {
"r": 171,
"g": 43,
"b": 38
},
"hsl": {
"h": 2.256,
"s": 63.636,
"l": 40.98
},
"oklch": {
"l": 0.49187,
"c": 0.16546,
"h": 27.4
},
"luminance": 0.10526
}Semantic roles & 50–950 ramp
primary
#AB2B26
secondary
#68C1C5
accent
#E0E741
background
#FDF7F5
surface
#FBEDEA
border
#D4C8C6
text
#150805
muted
#837B79