#AB2C1C#AB2C1C
#AB2C1C is a mid, vivid red. Relative luminance 0.105; OKLCH L 49.2% C 0.166 H 30.8°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2C1C |
|---|---|
| RGB | rgb(171, 44, 28) |
| HSL | hsl(7, 72%, 39%) |
| HSV | hsv(7, 84%, 67%) |
| CMYK | cmyk(0%, 74.3%, 83.6%, 32.9%) |
| CIE-LAB | lab(38.80, 50.41, 40.09) |
| CIE-LCH | lch(38.80, 64.41, 38.50°) |
| OKLab | oklab(49.18% 0.1427 0.085) |
| OKLCH | oklch(49.18% 0.166 30.8) |
| XYZ | xyz(17.9070, 10.5460, 2.1911) |
| Luminance | 0.1054 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brick
#A03623
ΔE00 2.53
Brownish Red
#9E3623
ΔE00 2.85
Firebrick
#B22222
ΔE00 3.12
Rusty Red
#AF2F0D
ΔE00 3.81
Darkish Red
#A90308
ΔE00 4.01
Rust Red
#AA2704
ΔE00 4.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2C1C #1C9BAB
analogous
#AB1C54 #AB2C1C #AB741C
triadic
#AB2C1C #1CAB2C #2C1CAB
tetradic
#AB2C1C #54AB1C #1C9BAB #741CAB
square
#AB2C1C #54AB1C #1C9BAB #741CAB
split-complementary
#AB2C1C #1CAB74 #1C54AB
monochromatic
#42110B #761E13 #AB2C1C #DC3C28 #E46C5D
Accessibility & contrast
On white
6.76
#AB2C1C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#AB2C1C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2C1C
6.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2C1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2C1C | 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)
#534A18
Deuteranopia (green-blind)
#726615
Tritanopia (blue-blind)
#BD002A
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #ab2c1c; /* rgb */ color: rgb(171, 44, 28); /* oklch */ color: oklch(49.2% 0.166 30.8);
Tailwind
colors: {
custom: {
50: '#cd6f5a',
500: '#ab2c1c',
950: '#000000',
},
}SCSS
$custom: #ab2c1c; $custom-light: #cd6f5a; $custom-dark: #000000;
JSON
{
"hex": "#ab2c1c",
"rgb": {
"r": 171,
"g": 44,
"b": 28
},
"hsl": {
"h": 6.713,
"s": 71.859,
"l": 39.02
},
"oklch": {
"l": 0.49179,
"c": 0.16608,
"h": 30.8
},
"luminance": 0.10543
}Semantic roles & 50–950 ramp
primary
#AB2C1C
secondary
#5ABCC9
accent
#DAEF39
background
#FDF7F5
surface
#FBEDE9
border
#D4C8C5
text
#150804
muted
#837B79