#AB2A34#AB2A34
#AB2A34 is a mid, vivid red. Relative luminance 0.106; OKLCH L 49.3% C 0.165 H 21.8°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2A34 |
|---|---|
| RGB | rgb(171, 42, 52) |
| HSL | hsl(355, 61%, 42%) |
| HSV | hsv(355, 75%, 67%) |
| CMYK | cmyk(0%, 75.4%, 69.6%, 32.9%) |
| CIE-LAB | lab(38.84, 52.06, 26.30) |
| CIE-LCH | lch(38.84, 58.32, 26.80°) |
| OKLab | oklab(49.29% 0.153 0.0612) |
| OKLCH | oklch(49.29% 0.165 21.8) |
| XYZ | xyz(18.2444, 10.5646, 4.3266) |
| Luminance | 0.1056 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 3.05
Lipstick Red
#C0022F
ΔE00 3.94
Cardinal
#C41E3A
ΔE00 4.67
Rouge
#AB1239
ΔE00 4.80
Firebrick
#B22222
ΔE00 5.05
Rose Red
#BE013C
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2A34 #2AABA1
analogous
#AB2A75 #AB2A34 #AB612A
triadic
#AB2A34 #34AB2A #2A34AB
tetradic
#AB2A34 #75AB2A #2AABA1 #612AAB
square
#AB2A34 #75AB2A #2AABA1 #612AAB
split-complementary
#AB2A34 #2AAB61 #2A75AB
monochromatic
#491216 #7A1E25 #AB2A34 #D1424D #DD737B
Accessibility & contrast
On white
6.75
#AB2A34 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#AB2A34 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2A34
6.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2A34 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2A34 | 1.00 | 6.75 | 3.11 | 6.75 |
| #FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#504A33
Deuteranopia (green-blind)
#706530
Tritanopia (blue-blind)
#BC002F
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #ab2a34; /* rgb */ color: rgb(171, 42, 52); /* oklch */ color: oklch(49.3% 0.165 21.8);
Tailwind
colors: {
custom: {
50: '#cc6e6b',
500: '#ab2a34',
950: '#000000',
},
}SCSS
$custom: #ab2a34; $custom-light: #cc6e6b; $custom-dark: #000000;
JSON
{
"hex": "#ab2a34",
"rgb": {
"r": 171,
"g": 42,
"b": 52
},
"hsl": {
"h": 355.349,
"s": 60.563,
"l": 41.765
},
"oklch": {
"l": 0.49294,
"c": 0.16475,
"h": 21.8
},
"luminance": 0.10562
}Semantic roles & 50–950 ramp
primary
#AB2A34
secondary
#6DC4BD
accent
#E4D744
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A