#AB2C2C#AB2C2C
#AB2C2C is a mid, vivid red. Relative luminance 0.106; OKLCH L 49.4% C 0.164 H 25.5°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2C2C |
|---|---|
| RGB | rgb(171, 44, 44) |
| HSL | hsl(0, 59%, 42%) |
| HSV | hsv(0, 74%, 67%) |
| CMYK | cmyk(0%, 74.3%, 74.3%, 32.9%) |
| CIE-LAB | lab(38.97, 50.98, 31.31) |
| CIE-LCH | lch(38.97, 59.83, 31.55°) |
| OKLab | oklab(49.36% 0.1478 0.0706) |
| OKLCH | oklch(49.36% 0.164 25.5) |
| XYZ | xyz(18.1520, 10.6439, 3.4811) |
| Luminance | 0.1064 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 1.31
Firebrick
#B22222
ΔE00 2.49
Scarlet
#BE0119
ΔE00 4.80
Lipstick Red
#C0022F
ΔE00 4.87
Brick
#A03623
ΔE00 4.92
Brownish Red
#9E3623
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2C2C #2CABAB
analogous
#AB2C6C #AB2C2C #AB6C2C
triadic
#AB2C2C #2CAB2C #2C2CAB
tetradic
#AB2C2C #6CAB2C #2CABAB #6C2CAB
square
#AB2C2C #6CAB2C #2CABAB #6C2CAB
split-complementary
#AB2C2C #2CAB6C #2C6CAB
monochromatic
#4A1313 #7A1F1F #AB2C2C #CF4545 #DC7676
Accessibility & contrast
On white
6.71
#AB2C2C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#AB2C2C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2C2C
6.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2C2C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2C2C | 1.00 | 6.71 | 3.13 | 6.71 |
| #FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#524A2B
Deuteranopia (green-blind)
#716627
Tritanopia (blue-blind)
#BC002E
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #ab2c2c; /* rgb */ color: rgb(171, 44, 44); /* oklch */ color: oklch(49.4% 0.164 25.5);
Tailwind
colors: {
custom: {
50: '#cc6f65',
500: '#ab2c2c',
950: '#000000',
},
}SCSS
$custom: #ab2c2c; $custom-light: #cc6f65; $custom-dark: #000000;
JSON
{
"hex": "#ab2c2c",
"rgb": {
"r": 171,
"g": 44,
"b": 44
},
"hsl": {
"h": 0,
"s": 59.07,
"l": 42.157
},
"oklch": {
"l": 0.49359,
"c": 0.1638,
"h": 25.5
},
"luminance": 0.10641
}Semantic roles & 50–950 ramp
primary
#AB2C2C
secondary
#6FC3C3
accent
#E2E246
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150805
muted
#837B7A