#AB2546#AB2546
#AB2546 is a mid, vivid red. Relative luminance 0.104; OKLCH L 49.2% C 0.169 H 12.4°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2546 |
|---|---|
| RGB | rgb(171, 37, 70) |
| HSL | hsl(345, 64%, 41%) |
| HSV | hsv(345, 78%, 67%) |
| CMYK | cmyk(0%, 78.4%, 59.1%, 32.9%) |
| CIE-LAB | lab(38.60, 54.77, 14.67) |
| CIE-LCH | lch(38.60, 56.70, 15.00°) |
| OKLab | oklab(49.22% 0.1653 0.0364) |
| OKLCH | oklch(49.22% 0.169 12.4) |
| XYZ | xyz(18.5635, 10.4260, 6.8281) |
| Luminance | 0.1042 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 3.19
Raspberry (survey)
#B00149
ΔE00 3.40
Purplish Red
#B0054B
ΔE00 3.63
Rose Red
#BE013C
ΔE00 4.55
Cranberry
#9E003A
ΔE00 4.68
Ruby
#CA0147
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2546 #25AB8A
analogous
#AB2589 #AB2546 #AB4725
triadic
#AB2546 #46AB25 #2546AB
tetradic
#AB2546 #89AB25 #25AB8A #4725AB
square
#AB2546 #89AB25 #25AB8A #4725AB
split-complementary
#AB2546 #25AB47 #2589AB
monochromatic
#460F1D #791A31 #AB2546 #D4395F #DF6B88
Accessibility & contrast
On white
6.81
#AB2546 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#AB2546 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2546
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2546 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2546 | 1.00 | 6.81 | 3.08 | 6.81 |
| #FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A4946
Deuteranopia (green-blind)
#6D6543
Tritanopia (blue-blind)
#BB0033
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #ab2546; /* rgb */ color: rgb(171, 37, 70); /* oklch */ color: oklch(49.2% 0.169 12.4);
Tailwind
colors: {
custom: {
50: '#cb6d79',
500: '#ab2546',
950: '#000000',
},
}SCSS
$custom: #ab2546; $custom-light: #cb6d79; $custom-dark: #000000;
JSON
{
"hex": "#ab2546",
"rgb": {
"r": 171,
"g": 37,
"b": 70
},
"hsl": {
"h": 345.224,
"s": 64.423,
"l": 40.784
},
"oklch": {
"l": 0.49224,
"c": 0.16926,
"h": 12.4
},
"luminance": 0.10423
}Semantic roles & 50–950 ramp
primary
#AB2546
secondary
#67C5AE
accent
#E7BE40
background
#FDF6F7
surface
#FAECED
border
#D3C7C8
text
#150809
muted
#837A7B