#AB303B#AB303B
#AB303B is a mid, vivid red. Relative luminance 0.111; OKLCH L 50.0% C 0.159 H 20.3°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).
Color values
| HEX | #AB303B |
|---|---|
| RGB | rgb(171, 48, 59) |
| HSL | hsl(355, 56%, 43%) |
| HSV | hsv(355, 72%, 67%) |
| CMYK | cmyk(0%, 71.9%, 65.5%, 32.9%) |
| CIE-LAB | lab(39.73, 50.29, 23.08) |
| CIE-LCH | lch(39.73, 55.33, 24.66°) |
| OKLab | oklab(50% 0.1488 0.0549) |
| OKLCH | oklch(50% 0.159 20.3) |
| XYZ | xyz(18.6429, 11.0903, 5.2958) |
| Luminance | 0.1109 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 4.38
Cardinal
#C41E3A
ΔE00 4.50
Brown
#A52A2A
ΔE00 4.52
Lipstick Red
#C0022F
ΔE00 4.65
Rose Red
#BE013C
ΔE00 4.70
Dull Red
#BB3F3F
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB303B #30ABA0
analogous
#AB3078 #AB303B #AB6230
triadic
#AB303B #3BAB30 #303BAB
tetradic
#AB303B #78AB30 #30ABA0 #6230AB
square
#AB303B #78AB30 #30ABA0 #6230AB
split-complementary
#AB303B #30AB62 #3078AB
monochromatic
#4B151A #7B232B #AB303B #CD4C57 #DA7B84
Accessibility & contrast
On white
6.53
#AB303B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#AB303B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB303B
6.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB303B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB303B | 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)
#524D3A
Deuteranopia (green-blind)
#716737
Tritanopia (blue-blind)
#BC0735
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #ab303b; /* rgb */ color: rgb(171, 48, 59); /* oklch */ color: oklch(50.0% 0.159 20.3);
Tailwind
colors: {
custom: {
50: '#cb7170',
500: '#ab303b',
950: '#000000',
},
}SCSS
$custom: #ab303b; $custom-light: #cb7170; $custom-dark: #000000;
JSON
{
"hex": "#ab303b",
"rgb": {
"r": 171,
"g": 48,
"b": 59
},
"hsl": {
"h": 354.634,
"s": 56.164,
"l": 42.941
},
"oklch": {
"l": 0.49997,
"c": 0.15862,
"h": 20.3
},
"luminance": 0.11088
}Semantic roles & 50–950 ramp
primary
#AB303B
secondary
#74C3BC
accent
#DFD248
background
#FDF7F6
surface
#FAEDEC
border
#D3C8C7
text
#150807
muted
#837B7A