#AB3042#AB3042
#AB3042 is a mid, vivid red. Relative luminance 0.112; OKLCH L 50.1% C 0.158 H 16.9°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).
Color values
| HEX | #AB3042 |
|---|---|
| RGB | rgb(171, 48, 66) |
| HSL | hsl(351, 56%, 43%) |
| HSV | hsv(351, 72%, 67%) |
| CMYK | cmyk(0%, 71.9%, 61.4%, 32.9%) |
| CIE-LAB | lab(39.86, 50.73, 18.89) |
| CIE-LCH | lch(39.86, 54.13, 20.42°) |
| OKLab | oklab(50.14% 0.1516 0.046) |
| OKLCH | oklch(50.14% 0.158 16.9) |
| XYZ | xyz(18.8368, 11.1679, 6.3169) |
| Luminance | 0.1116 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 3.53
Rose Red
#BE013C
ΔE00 4.13
Cardinal
#C41E3A
ΔE00 5.23
Ruby
#CA0147
ΔE00 5.75
Lipstick Red
#C0022F
ΔE00 5.96
Light Maroon
#A24857
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB3042 #30AB99
analogous
#AB307F #AB3042 #AB5C30
triadic
#AB3042 #42AB30 #3042AB
tetradic
#AB3042 #7FAB30 #30AB99 #5C30AB
square
#AB3042 #7FAB30 #30AB99 #5C30AB
split-complementary
#AB3042 #30AB5C #307FAB
monochromatic
#4B151D #7B2330 #AB3042 #CD4C5E #DA7B89
Accessibility & contrast
On white
6.50
#AB3042 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#AB3042 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB3042
6.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB3042 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB3042 | 1.00 | 6.50 | 3.23 | 6.50 |
| #FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#514E42
Deuteranopia (green-blind)
#70673F
Tritanopia (blue-blind)
#BB0C38
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #ab3042; /* rgb */ color: rgb(171, 48, 66); /* oklch */ color: oklch(50.1% 0.158 16.9);
Tailwind
colors: {
custom: {
50: '#cb7176',
500: '#ab3042',
950: '#000000',
},
}SCSS
$custom: #ab3042; $custom-light: #cb7176; $custom-dark: #000000;
JSON
{
"hex": "#ab3042",
"rgb": {
"r": 171,
"g": 48,
"b": 66
},
"hsl": {
"h": 351.22,
"s": 56.164,
"l": 42.941
},
"oklch": {
"l": 0.50135,
"c": 0.15843,
"h": 16.9
},
"luminance": 0.11165
}Semantic roles & 50–950 ramp
primary
#AB3042
secondary
#74C3B7
accent
#DFC948
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150808
muted
#837B7B