#AB2A30#AB2A30
#AB2A30 is a mid, vivid red. Relative luminance 0.105; OKLCH L 49.2% C 0.165 H 23.5°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2A30 |
|---|---|
| RGB | rgb(171, 42, 48) |
| HSL | hsl(357, 61%, 42%) |
| HSV | hsv(357, 75%, 67%) |
| CMYK | cmyk(0%, 75.4%, 71.9%, 32.9%) |
| CIE-LAB | lab(38.78, 51.86, 28.67) |
| CIE-LCH | lch(38.78, 59.26, 28.94°) |
| OKLab | oklab(49.23% 0.1515 0.0657) |
| OKLCH | oklch(49.23% 0.165 23.5) |
| XYZ | xyz(18.1581, 10.5300, 3.8721) |
| Luminance | 0.1053 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 1.93
Firebrick
#B22222
ΔE00 3.81
Lipstick Red
#C0022F
ΔE00 4.07
Cardinal
#C41E3A
ΔE00 5.15
Dull Red
#BB3F3F
ΔE00 5.58
Scarlet
#BE0119
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2A30 #2AABA5
analogous
#AB2A71 #AB2A30 #AB652A
triadic
#AB2A30 #30AB2A #2A30AB
tetradic
#AB2A30 #71AB2A #2AABA5 #652AAB
square
#AB2A30 #71AB2A #2AABA5 #652AAB
split-complementary
#AB2A30 #2AAB65 #2A71AB
monochromatic
#491214 #7A1E22 #AB2A30 #D14248 #DD7378
Accessibility & contrast
On white
6.76
#AB2A30 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#AB2A30 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2A30
6.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2A30 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2A30 | 1.00 | 6.76 | 3.11 | 6.76 |
| #FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#504A2F
Deuteranopia (green-blind)
#70652C
Tritanopia (blue-blind)
#BC002E
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #ab2a30; /* rgb */ color: rgb(171, 42, 48); /* oklch */ color: oklch(49.2% 0.165 23.5);
Tailwind
colors: {
custom: {
50: '#cc6e68',
500: '#ab2a30',
950: '#000000',
},
}SCSS
$custom: #ab2a30; $custom-light: #cc6e68; $custom-dark: #000000;
JSON
{
"hex": "#ab2a30",
"rgb": {
"r": 171,
"g": 42,
"b": 48
},
"hsl": {
"h": 357.209,
"s": 60.563,
"l": 41.765
},
"oklch": {
"l": 0.4923,
"c": 0.1651,
"h": 23.5
},
"luminance": 0.10527
}Semantic roles & 50–950 ramp
primary
#AB2A30
secondary
#6DC4C0
accent
#E4DC44
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A