#AB2D1C#AB2D1C
#AB2D1C is a mid, vivid red. Relative luminance 0.106; OKLCH L 49.3% C 0.165 H 31.0°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2D1C |
|---|---|
| RGB | rgb(171, 45, 28) |
| HSL | hsl(7, 72%, 39%) |
| HSV | hsv(7, 84%, 67%) |
| CMYK | cmyk(0%, 73.7%, 83.6%, 32.9%) |
| CIE-LAB | lab(38.94, 50.05, 40.21) |
| CIE-LCH | lch(38.94, 64.20, 38.78°) |
| OKLab | oklab(49.28% 0.1416 0.0852) |
| OKLCH | oklch(49.28% 0.165 31) |
| XYZ | xyz(17.9447, 10.6214, 2.2036) |
| Luminance | 0.1062 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brick
#A03623
ΔE00 2.47
Brownish Red
#9E3623
ΔE00 2.80
Firebrick
#B22222
ΔE00 3.31
Rusty Red
#AF2F0D
ΔE00 3.63
Rust Red
#AA2704
ΔE00 3.94
Darkish Red
#A90308
ΔE00 4.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2D1C #1C9AAB
analogous
#AB1C53 #AB2D1C #AB751C
triadic
#AB2D1C #1CAB2D #2D1CAB
tetradic
#AB2D1C #53AB1C #1C9AAB #751CAB
square
#AB2D1C #53AB1C #1C9AAB #751CAB
split-complementary
#AB2D1C #1CAB75 #1C53AB
monochromatic
#42110B #761F13 #AB2D1C #DC3E28 #E46D5D
Accessibility & contrast
On white
6.72
#AB2D1C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#AB2D1C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2D1C
6.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2D1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2D1C | 1.00 | 6.72 | 3.12 | 6.72 |
| #FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#534A18
Deuteranopia (green-blind)
#726615
Tritanopia (blue-blind)
#BD002A
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #ab2d1c; /* rgb */ color: rgb(171, 45, 28); /* oklch */ color: oklch(49.3% 0.165 31.0);
Tailwind
colors: {
custom: {
50: '#cd6f5a',
500: '#ab2d1c',
950: '#000000',
},
}SCSS
$custom: #ab2d1c; $custom-light: #cd6f5a; $custom-dark: #000000;
JSON
{
"hex": "#ab2d1c",
"rgb": {
"r": 171,
"g": 45,
"b": 28
},
"hsl": {
"h": 7.133,
"s": 71.859,
"l": 39.02
},
"oklch": {
"l": 0.49276,
"c": 0.16526,
"h": 31
},
"luminance": 0.10619
}Semantic roles & 50–950 ramp
primary
#AB2D1C
secondary
#5ABBC9
accent
#D9EF39
background
#FDF7F5
surface
#FBEDE9
border
#D4C8C5
text
#150804
muted
#837B79