#AB2F1C#AB2F1C
#AB2F1C is a mid, vivid red. Relative luminance 0.108; OKLCH L 49.5% C 0.164 H 31.6°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2F1C |
|---|---|
| RGB | rgb(171, 47, 28) |
| HSL | hsl(8, 72%, 39%) |
| HSV | hsv(8, 84%, 67%) |
| CMYK | cmyk(0%, 72.5%, 83.6%, 32.9%) |
| CIE-LAB | lab(39.20, 49.31, 40.46) |
| CIE-LCH | lch(39.20, 63.78, 39.37°) |
| OKLab | oklab(49.48% 0.1393 0.0858) |
| OKLCH | oklch(49.48% 0.164 31.6) |
| XYZ | xyz(18.0229, 10.7776, 2.2297) |
| Luminance | 0.1077 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brick
#A03623
ΔE00 2.41
Brownish Red
#9E3623
ΔE00 2.76
Rusty Red
#AF2F0D
ΔE00 3.26
Rust Red
#AA2704
ΔE00 3.71
Firebrick
#B22222
ΔE00 3.71
Burnt Red
#9F2305
ΔE00 4.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2F1C #1C98AB
analogous
#AB1C51 #AB2F1C #AB771C
triadic
#AB2F1C #1CAB2F #2F1CAB
tetradic
#AB2F1C #51AB1C #1C98AB #771CAB
square
#AB2F1C #51AB1C #1C98AB #771CAB
split-complementary
#AB2F1C #1CAB77 #1C51AB
monochromatic
#42120B #762113 #AB2F1C #DC4028 #E46F5D
Accessibility & contrast
On white
6.66
#AB2F1C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#AB2F1C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2F1C
6.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2F1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2F1C | 1.00 | 6.66 | 3.16 | 6.66 |
| #FFFFFF | 6.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#544B18
Deuteranopia (green-blind)
#736615
Tritanopia (blue-blind)
#BD002C
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #ab2f1c; /* rgb */ color: rgb(171, 47, 28); /* oklch */ color: oklch(49.5% 0.164 31.6);
Tailwind
colors: {
custom: {
50: '#cd705a',
500: '#ab2f1c',
950: '#000000',
},
}SCSS
$custom: #ab2f1c; $custom-light: #cd705a; $custom-dark: #000000;
JSON
{
"hex": "#ab2f1c",
"rgb": {
"r": 171,
"g": 47,
"b": 28
},
"hsl": {
"h": 7.972,
"s": 71.859,
"l": 39.02
},
"oklch": {
"l": 0.49477,
"c": 0.16358,
"h": 31.6
},
"luminance": 0.10775
}Semantic roles & 50–950 ramp
primary
#AB2F1C
secondary
#5ABAC9
accent
#D6EF39
background
#FDF7F5
surface
#FBEDE9
border
#D4C8C5
text
#150804
muted
#837B79