#AB2F42#AB2F42
#AB2F42 is a mid, vivid red. Relative luminance 0.111; OKLCH L 50.0% C 0.159 H 16.6°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2F42 |
|---|---|
| RGB | rgb(171, 47, 66) |
| HSL | hsl(351, 57%, 43%) |
| HSV | hsv(351, 73%, 67%) |
| CMYK | cmyk(0%, 72.5%, 61.4%, 32.9%) |
| CIE-LAB | lab(39.73, 51.10, 18.71) |
| CIE-LCH | lch(39.73, 54.42, 20.11°) |
| OKLab | oklab(50.04% 0.1528 0.0456) |
| OKLCH | oklch(50.04% 0.159 16.6) |
| XYZ | xyz(18.7964, 11.0870, 6.3035) |
| Luminance | 0.1108 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 3.36
Rose Red
#BE013C
ΔE00 4.05
Cardinal
#C41E3A
ΔE00 5.31
Ruby
#CA0147
ΔE00 5.68
Lipstick Red
#C0022F
ΔE00 6.01
Light Maroon
#A24857
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2F42 #2FAB98
analogous
#AB2F80 #AB2F42 #AB5A2F
triadic
#AB2F42 #42AB2F #2F42AB
tetradic
#AB2F42 #80AB2F #2FAB98 #5A2FAB
square
#AB2F42 #80AB2F #2FAB98 #5A2FAB
split-complementary
#AB2F42 #2FAB5A #2F80AB
monochromatic
#4B151D #7B222F #AB2F42 #CD4A5E #DA7A89
Accessibility & contrast
On white
6.53
#AB2F42 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#AB2F42 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2F42
6.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2F42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2F42 | 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)
#504D42
Deuteranopia (green-blind)
#70673F
Tritanopia (blue-blind)
#BB0837
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #ab2f42; /* rgb */ color: rgb(171, 47, 66); /* oklch */ color: oklch(50.0% 0.159 16.6);
Tailwind
colors: {
custom: {
50: '#cb7176',
500: '#ab2f42',
950: '#000000',
},
}SCSS
$custom: #ab2f42; $custom-light: #cb7176; $custom-dark: #000000;
JSON
{
"hex": "#ab2f42",
"rgb": {
"r": 171,
"g": 47,
"b": 66
},
"hsl": {
"h": 350.806,
"s": 56.881,
"l": 42.745
},
"oklch": {
"l": 0.50035,
"c": 0.15946,
"h": 16.6
},
"luminance": 0.11084
}Semantic roles & 50–950 ramp
primary
#AB2F42
secondary
#73C3B7
accent
#E0C948
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150808
muted
#837B7B