#AB303A#AB303A
#AB303A is a mid, vivid red. Relative luminance 0.111; OKLCH L 50.0% C 0.159 H 20.7°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).
Color values
| HEX | #AB303A |
|---|---|
| RGB | rgb(171, 48, 58) |
| HSL | hsl(355, 56%, 43%) |
| HSV | hsv(355, 72%, 67%) |
| CMYK | cmyk(0%, 71.9%, 66.1%, 32.9%) |
| CIE-LAB | lab(39.71, 50.23, 23.68) |
| CIE-LCH | lch(39.71, 55.53, 25.24°) |
| OKLab | oklab(49.98% 0.1484 0.0562) |
| OKLCH | oklch(49.98% 0.159 20.7) |
| XYZ | xyz(18.6172, 11.0800, 5.1605) |
| Luminance | 0.1108 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 4.21
Cardinal
#C41E3A
ΔE00 4.49
Lipstick Red
#C0022F
ΔE00 4.54
Rouge
#AB1239
ΔE00 4.59
Rose Red
#BE013C
ΔE00 4.88
Dull Red
#BB3F3F
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB303A #30ABA1
analogous
#AB3077 #AB303A #AB6330
triadic
#AB303A #3AAB30 #303AAB
tetradic
#AB303A #77AB30 #30ABA1 #6330AB
square
#AB303A #77AB30 #30ABA1 #6330AB
split-complementary
#AB303A #30AB63 #3077AB
monochromatic
#4B151A #7B232A #AB303A #CD4C56 #DA7B83
Accessibility & contrast
On white
6.53
#AB303A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#AB303A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB303A
6.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB303A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB303A | 1.00 | 6.53 | 3.22 | 6.53 |
| #FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#524D39
Deuteranopia (green-blind)
#716736
Tritanopia (blue-blind)
#BC0635
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #ab303a; /* rgb */ color: rgb(171, 48, 58); /* oklch */ color: oklch(50.0% 0.159 20.7);
Tailwind
colors: {
custom: {
50: '#cb7170',
500: '#ab303a',
950: '#000000',
},
}SCSS
$custom: #ab303a; $custom-light: #cb7170; $custom-dark: #000000;
JSON
{
"hex": "#ab303a",
"rgb": {
"r": 171,
"g": 48,
"b": 58
},
"hsl": {
"h": 355.122,
"s": 56.164,
"l": 42.941
},
"oklch": {
"l": 0.49978,
"c": 0.15869,
"h": 20.7
},
"luminance": 0.11077
}Semantic roles & 50–950 ramp
primary
#AB303A
secondary
#74C3BC
accent
#DFD348
background
#FDF7F6
surface
#FAEDEC
border
#D3C8C7
text
#150807
muted
#837B7A