#AB2B2E#AB2B2E
#AB2B2E is a mid, vivid red. Relative luminance 0.106; OKLCH L 49.3% C 0.164 H 24.5°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2B2E |
|---|---|
| RGB | rgb(171, 43, 46) |
| HSL | hsl(359, 60%, 42%) |
| HSV | hsv(359, 75%, 67%) |
| CMYK | cmyk(0%, 74.9%, 73.1%, 32.9%) |
| CIE-LAB | lab(38.87, 51.42, 30.00) |
| CIE-LCH | lch(38.87, 59.53, 30.26°) |
| OKLab | oklab(49.29% 0.1496 0.0682) |
| OKLCH | oklch(49.29% 0.164 24.5) |
| XYZ | xyz(18.1537, 10.5857, 3.6716) |
| Luminance | 0.1058 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 1.44
Firebrick
#B22222
ΔE00 3.11
Lipstick Red
#C0022F
ΔE00 4.41
Scarlet
#BE0119
ΔE00 5.25
Dull Red
#BB3F3F
ΔE00 5.54
Cardinal
#C41E3A
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2B2E #2BABA8
analogous
#AB2B6E #AB2B2E #AB682B
triadic
#AB2B2E #2EAB2B #2B2EAB
tetradic
#AB2B2E #6EAB2B #2BABA8 #682BAB
square
#AB2B2E #6EAB2B #2BABA8 #682BAB
split-complementary
#AB2B2E #2BAB68 #2B6EAB
monochromatic
#491214 #7A1F21 #AB2B2E #D04347 #DC7477
Accessibility & contrast
On white
6.74
#AB2B2E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#AB2B2E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2B2E
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2B2E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2B2E | 1.00 | 6.74 | 3.12 | 6.74 |
| #FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#514A2D
Deuteranopia (green-blind)
#71662A
Tritanopia (blue-blind)
#BC002E
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #ab2b2e; /* rgb */ color: rgb(171, 43, 46); /* oklch */ color: oklch(49.3% 0.164 24.5);
Tailwind
colors: {
custom: {
50: '#cc6f67',
500: '#ab2b2e',
950: '#000000',
},
}SCSS
$custom: #ab2b2e; $custom-light: #cc6f67; $custom-dark: #000000;
JSON
{
"hex": "#ab2b2e",
"rgb": {
"r": 171,
"g": 43,
"b": 46
},
"hsl": {
"h": 358.594,
"s": 59.813,
"l": 41.961
},
"oklch": {
"l": 0.49293,
"c": 0.16444,
"h": 24.5
},
"luminance": 0.10583
}Semantic roles & 50–950 ramp
primary
#AB2B2E
secondary
#6EC4C2
accent
#E3DF45
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A