#AB2F45#AB2F45
#AB2F45 is a mid, vivid red. Relative luminance 0.111; OKLCH L 50.1% C 0.160 H 15.1°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2F45 |
|---|---|
| RGB | rgb(171, 47, 69) |
| HSL | hsl(349, 57%, 43%) |
| HSV | hsv(349, 73%, 67%) |
| CMYK | cmyk(0%, 72.5%, 59.6%, 32.9%) |
| CIE-LAB | lab(39.79, 51.31, 16.91) |
| CIE-LCH | lch(39.79, 54.02, 18.24°) |
| OKLab | oklab(50.1% 0.154 0.0416) |
| OKLCH | oklch(50.1% 0.16 15.1) |
| XYZ | xyz(18.8871, 11.1233, 6.7815) |
| Luminance | 0.1112 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 3.49
Rose Red
#BE013C
ΔE00 4.26
Ruby
#CA0147
ΔE00 5.49
Raspberry (survey)
#B00149
ΔE00 5.49
Light Maroon
#A24857
ΔE00 5.67
Purplish Red
#B0054B
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2F45 #2FAB95
analogous
#AB2F83 #AB2F45 #AB572F
triadic
#AB2F45 #45AB2F #2F45AB
tetradic
#AB2F45 #83AB2F #2FAB95 #572FAB
square
#AB2F45 #83AB2F #2FAB95 #572FAB
split-complementary
#AB2F45 #2FAB57 #2F83AB
monochromatic
#4B151E #7B2232 #AB2F45 #CD4A61 #DA7A8B
Accessibility & contrast
On white
6.51
#AB2F45 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.22
#AB2F45 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2F45
6.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2F45 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2F45 | 1.00 | 6.51 | 3.22 | 6.51 |
| #FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#504D45
Deuteranopia (green-blind)
#6F6742
Tritanopia (blue-blind)
#BB0B38
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #ab2f45; /* rgb */ color: rgb(171, 47, 69); /* oklch */ color: oklch(50.1% 0.160 15.1);
Tailwind
colors: {
custom: {
50: '#cb7178',
500: '#ab2f45',
950: '#000000',
},
}SCSS
$custom: #ab2f45; $custom-light: #cb7178; $custom-dark: #000000;
JSON
{
"hex": "#ab2f45",
"rgb": {
"r": 171,
"g": 47,
"b": 69
},
"hsl": {
"h": 349.355,
"s": 56.881,
"l": 42.745
},
"oklch": {
"l": 0.50099,
"c": 0.15953,
"h": 15.1
},
"luminance": 0.11121
}Semantic roles & 50–950 ramp
primary
#AB2F45
secondary
#73C3B5
accent
#E0C548
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#140808
muted
#837B7B