#AB2F2D#AB2F2D
#AB2F2D is a mid, vivid red. Relative luminance 0.109; OKLCH L 49.7% C 0.161 H 26.0°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2F2D |
|---|---|
| RGB | rgb(171, 47, 45) |
| HSL | hsl(1, 58%, 42%) |
| HSV | hsv(1, 74%, 67%) |
| CMYK | cmyk(0%, 72.5%, 73.7%, 32.9%) |
| CIE-LAB | lab(39.38, 49.93, 31.18) |
| CIE-LCH | lch(39.38, 58.86, 31.98°) |
| OKLab | oklab(49.67% 0.1447 0.0706) |
| OKLCH | oklch(49.67% 0.161 26) |
| XYZ | xyz(18.2868, 10.8832, 3.6199) |
| Luminance | 0.1088 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 1.62
Firebrick
#B22222
ΔE00 2.56
Brick
#A03623
ΔE00 4.66
Brownish Red
#9E3623
ΔE00 4.81
Scarlet
#BE0119
ΔE00 4.92
Lipstick Red
#C0022F
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2F2D #2DA9AB
analogous
#AB2D6A #AB2F2D #AB6E2D
triadic
#AB2F2D #2DAB2F #2F2DAB
tetradic
#AB2F2D #6AAB2D #2DA9AB #6E2DAB
square
#AB2F2D #6AAB2D #2DA9AB #6E2DAB
split-complementary
#AB2F2D #2DAB6E #2D6AAB
monochromatic
#4A1414 #7B2220 #AB2F2D #CE4947 #DB7977
Accessibility & contrast
On white
6.61
#AB2F2D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#AB2F2D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2F2D
6.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2F2D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2F2D | 1.00 | 6.61 | 3.18 | 6.61 |
| #FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#534C2B
Deuteranopia (green-blind)
#726729
Tritanopia (blue-blind)
#BC0030
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #ab2f2d; /* rgb */ color: rgb(171, 47, 45); /* oklch */ color: oklch(49.7% 0.161 26.0);
Tailwind
colors: {
custom: {
50: '#cc7066',
500: '#ab2f2d',
950: '#000000',
},
}SCSS
$custom: #ab2f2d; $custom-light: #cc7066; $custom-dark: #000000;
JSON
{
"hex": "#ab2f2d",
"rgb": {
"r": 171,
"g": 47,
"b": 45
},
"hsl": {
"h": 0.952,
"s": 58.333,
"l": 42.353
},
"oklch": {
"l": 0.49668,
"c": 0.16098,
"h": 26
},
"luminance": 0.1088
}Semantic roles & 50–950 ramp
primary
#AB2F2D
secondary
#71C2C3
accent
#DFE246
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A