#AB2F2C#AB2F2C
#AB2F2C is a mid, vivid red. Relative luminance 0.109; OKLCH L 49.7% C 0.161 H 26.4°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2F2C |
|---|---|
| RGB | rgb(171, 47, 44) |
| HSL | hsl(1, 59%, 42%) |
| HSV | hsv(1, 74%, 67%) |
| CMYK | cmyk(0%, 72.5%, 74.3%, 32.9%) |
| CIE-LAB | lab(39.37, 49.88, 31.76) |
| CIE-LCH | lch(39.37, 59.13, 32.48°) |
| OKLab | oklab(49.65% 0.1443 0.0716) |
| OKLCH | oklch(49.65% 0.161 26.4) |
| XYZ | xyz(18.2678, 10.8756, 3.5197) |
| Luminance | 0.1087 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 1.69
Firebrick
#B22222
ΔE00 2.36
Brick
#A03623
ΔE00 4.39
Brownish Red
#9E3623
ΔE00 4.56
Scarlet
#BE0119
ΔE00 4.76
Lipstick Red
#C0022F
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2F2C #2CA8AB
analogous
#AB2C69 #AB2F2C #AB6E2C
triadic
#AB2F2C #2CAB2F #2F2CAB
tetradic
#AB2F2C #69AB2C #2CA8AB #6E2CAB
square
#AB2F2C #69AB2C #2CA8AB #6E2CAB
split-complementary
#AB2F2C #2CAB6E #2C69AB
monochromatic
#4A1413 #7A221F #AB2F2C #CF4845 #DC7876
Accessibility & contrast
On white
6.62
#AB2F2C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#AB2F2C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2F2C
6.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2F2C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2F2C | 1.00 | 6.62 | 3.17 | 6.62 |
| #FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#534C2A
Deuteranopia (green-blind)
#726728
Tritanopia (blue-blind)
#BC0030
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #ab2f2c; /* rgb */ color: rgb(171, 47, 44); /* oklch */ color: oklch(49.7% 0.161 26.4);
Tailwind
colors: {
custom: {
50: '#cc7065',
500: '#ab2f2c',
950: '#000000',
},
}SCSS
$custom: #ab2f2c; $custom-light: #cc7065; $custom-dark: #000000;
JSON
{
"hex": "#ab2f2c",
"rgb": {
"r": 171,
"g": 47,
"b": 44
},
"hsl": {
"h": 1.417,
"s": 59.07,
"l": 42.157
},
"oklch": {
"l": 0.49654,
"c": 0.16111,
"h": 26.4
},
"luminance": 0.10873
}Semantic roles & 50–950 ramp
primary
#AB2F2C
secondary
#6FC1C3
accent
#DFE246
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150805
muted
#837B7A