#AB3142#AB3142
#AB3142 is a mid, vivid red. Relative luminance 0.112; OKLCH L 50.2% C 0.157 H 17.2°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).
Color values
| HEX | #AB3142 |
|---|---|
| RGB | rgb(171, 49, 66) |
| HSL | hsl(352, 55%, 43%) |
| HSV | hsv(352, 71%, 67%) |
| CMYK | cmyk(0%, 71.3%, 61.4%, 32.9%) |
| CIE-LAB | lab(40.00, 50.35, 19.07) |
| CIE-LCH | lch(40.00, 53.84, 20.74°) |
| OKLab | oklab(50.24% 0.1504 0.0464) |
| OKLCH | oklch(50.24% 0.157 17.2) |
| XYZ | xyz(18.8782, 11.2506, 6.3307) |
| Luminance | 0.1125 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 3.71
Rose Red
#BE013C
ΔE00 4.23
Cardinal
#C41E3A
ΔE00 5.16
Ruby
#CA0147
ΔE00 5.83
Lipstick Red
#C0022F
ΔE00 5.91
Light Maroon
#A24857
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB3142 #31AB9A
analogous
#AB317F #AB3142 #AB5D31
triadic
#AB3142 #42AB31 #3142AB
tetradic
#AB3142 #7FAB31 #31AB9A #5D31AB
square
#AB3142 #7FAB31 #31AB9A #5D31AB
split-complementary
#AB3142 #31AB5D #317FAB
monochromatic
#4C161D #7B2330 #AB3142 #CC4D5F #DA7D8A
Accessibility & contrast
On white
6.46
#AB3142 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#AB3142 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB3142
6.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB3142 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB3142 | 1.00 | 6.46 | 3.25 | 6.46 |
| #FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#514E42
Deuteranopia (green-blind)
#71683F
Tritanopia (blue-blind)
#BB0F38
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #ab3142; /* rgb */ color: rgb(171, 49, 66); /* oklch */ color: oklch(50.2% 0.157 17.2);
Tailwind
colors: {
custom: {
50: '#cb7276',
500: '#ab3142',
950: '#000000',
},
}SCSS
$custom: #ab3142; $custom-light: #cb7276; $custom-dark: #000000;
JSON
{
"hex": "#ab3142",
"rgb": {
"r": 171,
"g": 49,
"b": 66
},
"hsl": {
"h": 351.639,
"s": 55.455,
"l": 43.137
},
"oklch": {
"l": 0.50237,
"c": 0.15739,
"h": 17.2
},
"luminance": 0.11248
}Semantic roles & 50–950 ramp
primary
#AB3142
secondary
#75C2B8
accent
#DFCA49
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150808
muted
#837B7B