#AB2F46#AB2F46
#AB2F46 is a mid, vivid red. Relative luminance 0.111; OKLCH L 50.1% C 0.160 H 14.6°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2F46 |
|---|---|
| RGB | rgb(171, 47, 70) |
| HSL | hsl(349, 57%, 43%) |
| HSV | hsv(349, 73%, 67%) |
| CMYK | cmyk(0%, 72.5%, 59.1%, 32.9%) |
| CIE-LAB | lab(39.81, 51.38, 16.31) |
| CIE-LCH | lch(39.81, 53.91, 17.61°) |
| OKLab | oklab(50.12% 0.1544 0.0403) |
| OKLCH | oklch(50.12% 0.16 14.6) |
| XYZ | xyz(18.9184, 11.1358, 6.9464) |
| Luminance | 0.1113 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 3.60
Rose Red
#BE013C
ΔE00 4.38
Raspberry (survey)
#B00149
ΔE00 5.25
Purplish Red
#B0054B
ΔE00 5.45
Ruby
#CA0147
ΔE00 5.47
Light Maroon
#A24857
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2F46 #2FAB94
analogous
#AB2F84 #AB2F46 #AB562F
triadic
#AB2F46 #46AB2F #2F46AB
tetradic
#AB2F46 #84AB2F #2FAB94 #562FAB
square
#AB2F46 #84AB2F #2FAB94 #562FAB
split-complementary
#AB2F46 #2FAB56 #2F84AB
monochromatic
#4B151F #7B2232 #AB2F46 #CD4A62 #DA7A8C
Accessibility & contrast
On white
6.51
#AB2F46 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#AB2F46 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2F46
6.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2F46 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2F46 | 1.00 | 6.51 | 3.23 | 6.51 |
| #FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#504D46
Deuteranopia (green-blind)
#6F6743
Tritanopia (blue-blind)
#BB0C38
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #ab2f46; /* rgb */ color: rgb(171, 47, 70); /* oklch */ color: oklch(50.1% 0.160 14.6);
Tailwind
colors: {
custom: {
50: '#ca7179',
500: '#ab2f46',
950: '#000000',
},
}SCSS
$custom: #ab2f46; $custom-light: #ca7179; $custom-dark: #000000;
JSON
{
"hex": "#ab2f46",
"rgb": {
"r": 171,
"g": 47,
"b": 70
},
"hsl": {
"h": 348.871,
"s": 56.881,
"l": 42.745
},
"oklch": {
"l": 0.50122,
"c": 0.15957,
"h": 14.6
},
"luminance": 0.11133
}Semantic roles & 50–950 ramp
primary
#AB2F46
secondary
#73C3B4
accent
#E0C448
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#140809
muted
#837B7B