#AB2F32#AB2F32
#AB2F32 is a mid, vivid red. Relative luminance 0.109; OKLCH L 49.7% C 0.160 H 24.0°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2F32 |
|---|---|
| RGB | rgb(171, 47, 50) |
| HSL | hsl(359, 57%, 43%) |
| HSV | hsv(359, 73%, 67%) |
| CMYK | cmyk(0%, 72.5%, 70.8%, 32.9%) |
| CIE-LAB | lab(39.45, 50.17, 28.26) |
| CIE-LCH | lch(39.45, 57.58, 29.39°) |
| OKLab | oklab(49.74% 0.1465 0.0652) |
| OKLCH | oklch(49.74% 0.16 24) |
| XYZ | xyz(18.3889, 10.9240, 4.1573) |
| Luminance | 0.1092 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 2.12
Firebrick
#B22222
ΔE00 3.85
Lipstick Red
#C0022F
ΔE00 4.44
Dull Red
#BB3F3F
ΔE00 4.96
Cardinal
#C41E3A
ΔE00 5.18
Scarlet
#BE0119
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2F32 #2FABA8
analogous
#AB2F70 #AB2F32 #AB6A2F
triadic
#AB2F32 #32AB2F #2F32AB
tetradic
#AB2F32 #70AB2F #2FABA8 #6A2FAB
square
#AB2F32 #70AB2F #2FABA8 #6A2FAB
split-complementary
#AB2F32 #2FAB6A #2F70AB
monochromatic
#4B1516 #7B2224 #AB2F32 #CD4A4D #DA7A7C
Accessibility & contrast
On white
6.60
#AB2F32 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#AB2F32 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2F32
6.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2F32 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2F32 | 1.00 | 6.60 | 3.18 | 6.60 |
| #FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#524C31
Deuteranopia (green-blind)
#72672E
Tritanopia (blue-blind)
#BC0031
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #ab2f32; /* rgb */ color: rgb(171, 47, 50); /* oklch */ color: oklch(49.7% 0.160 24.0);
Tailwind
colors: {
custom: {
50: '#cc716a',
500: '#ab2f32',
950: '#000000',
},
}SCSS
$custom: #ab2f32; $custom-light: #cc716a; $custom-dark: #000000;
JSON
{
"hex": "#ab2f32",
"rgb": {
"r": 171,
"g": 47,
"b": 50
},
"hsl": {
"h": 358.548,
"s": 56.881,
"l": 42.745
},
"oklch": {
"l": 0.49742,
"c": 0.16036,
"h": 24
},
"luminance": 0.10921
}Semantic roles & 50–950 ramp
primary
#AB2F32
secondary
#73C3C1
accent
#E0DC48
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A