#AB2E2B#AB2E2B
#AB2E2B is a mid, vivid red. Relative luminance 0.108; OKLCH L 49.5% C 0.162 H 26.5°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2E2B |
|---|---|
| RGB | rgb(171, 46, 43) |
| HSL | hsl(1, 60%, 42%) |
| HSV | hsv(1, 75%, 67%) |
| CMYK | cmyk(0%, 73.1%, 74.9%, 32.9%) |
| CIE-LAB | lab(39.22, 50.21, 32.18) |
| CIE-LCH | lch(39.22, 59.64, 32.65°) |
| OKLab | oklab(49.54% 0.1451 0.0723) |
| OKLCH | oklch(49.54% 0.162 26.5) |
| XYZ | xyz(18.2097, 10.7891, 3.4087) |
| Luminance | 0.1079 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 1.64
Firebrick
#B22222
ΔE00 2.18
Brick
#A03623
ΔE00 4.31
Brownish Red
#9E3623
ΔE00 4.48
Scarlet
#BE0119
ΔE00 4.61
Lipstick Red
#C0022F
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2E2B #2BA8AB
analogous
#AB2B68 #AB2E2B #AB6E2B
triadic
#AB2E2B #2BAB2E #2E2BAB
tetradic
#AB2E2B #68AB2B #2BA8AB #6E2BAB
square
#AB2E2B #68AB2B #2BA8AB #6E2BAB
split-complementary
#AB2E2B #2BAB6E #2B68AB
monochromatic
#491412 #7A211F #AB2E2B #D04743 #DC7774
Accessibility & contrast
On white
6.65
#AB2E2B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#AB2E2B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2E2B
6.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2E2B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2E2B | 1.00 | 6.65 | 3.16 | 6.65 |
| #FFFFFF | 6.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#534B29
Deuteranopia (green-blind)
#726626
Tritanopia (blue-blind)
#BC002F
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #ab2e2b; /* rgb */ color: rgb(171, 46, 43); /* oklch */ color: oklch(49.5% 0.162 26.5);
Tailwind
colors: {
custom: {
50: '#cc7065',
500: '#ab2e2b',
950: '#000000',
},
}SCSS
$custom: #ab2e2b; $custom-light: #cc7065; $custom-dark: #000000;
JSON
{
"hex": "#ab2e2b",
"rgb": {
"r": 171,
"g": 46,
"b": 43
},
"hsl": {
"h": 1.406,
"s": 59.813,
"l": 41.961
},
"oklch": {
"l": 0.4954,
"c": 0.16216,
"h": 26.5
},
"luminance": 0.10786
}Semantic roles & 50–950 ramp
primary
#AB2E2B
secondary
#6EC2C4
accent
#DFE345
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150805
muted
#837B7A