#AB3038#AB3038
#AB3038 is a mid, vivid red. Relative luminance 0.111; OKLCH L 49.9% C 0.159 H 21.6°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).
Color values
| HEX | #AB3038 |
|---|---|
| RGB | rgb(171, 48, 56) |
| HSL | hsl(356, 56%, 43%) |
| HSV | hsv(356, 72%, 67%) |
| CMYK | cmyk(0%, 71.9%, 67.3%, 32.9%) |
| CIE-LAB | lab(39.68, 50.11, 24.87) |
| CIE-LCH | lch(39.68, 55.94, 26.40°) |
| OKLab | oklab(49.94% 0.1476 0.0586) |
| OKLCH | oklch(49.94% 0.159 21.6) |
| XYZ | xyz(18.5673, 11.0601, 4.8977) |
| Luminance | 0.1106 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Brown
#A52A2A
ΔE00 3.62
Lipstick Red
#C0022F
ΔE00 4.39
Cardinal
#C41E3A
ΔE00 4.55
Dull Red
#BB3F3F
ΔE00 5.03
Rouge
#AB1239
ΔE00 5.06
Rose Red
#BE013C
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB3038 #30ABA3
analogous
#AB3075 #AB3038 #AB6630
triadic
#AB3038 #38AB30 #3038AB
tetradic
#AB3038 #75AB30 #30ABA3 #6630AB
square
#AB3038 #75AB30 #30ABA3 #6630AB
split-complementary
#AB3038 #30AB66 #3075AB
monochromatic
#4B1519 #7B2328 #AB3038 #CD4C54 #DA7B82
Accessibility & contrast
On white
6.54
#AB3038 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#AB3038 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB3038
6.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB3038 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB3038 | 1.00 | 6.54 | 3.21 | 6.54 |
| #FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#524D37
Deuteranopia (green-blind)
#716734
Tritanopia (blue-blind)
#BC0534
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #ab3038; /* rgb */ color: rgb(171, 48, 56); /* oklch */ color: oklch(49.9% 0.159 21.6);
Tailwind
colors: {
custom: {
50: '#cb716e',
500: '#ab3038',
950: '#000000',
},
}SCSS
$custom: #ab3038; $custom-light: #cb716e; $custom-dark: #000000;
JSON
{
"hex": "#ab3038",
"rgb": {
"r": 171,
"g": 48,
"b": 56
},
"hsl": {
"h": 356.098,
"s": 56.164,
"l": 42.941
},
"oklch": {
"l": 0.49943,
"c": 0.15883,
"h": 21.6
},
"luminance": 0.11057
}Semantic roles & 50–950 ramp
primary
#AB3038
secondary
#74C3BD
accent
#DFD648
background
#FDF7F6
surface
#FAEDEC
border
#D3C8C7
text
#150807
muted
#837B7A