#AB2545#AB2545
#AB2545 is a mid, vivid red. Relative luminance 0.104; OKLCH L 49.2% C 0.169 H 12.9°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2545 |
|---|---|
| RGB | rgb(171, 37, 69) |
| HSL | hsl(346, 64%, 41%) |
| HSV | hsv(346, 78%, 67%) |
| CMYK | cmyk(0%, 78.4%, 59.6%, 32.9%) |
| CIE-LAB | lab(38.57, 54.70, 15.28) |
| CIE-LCH | lch(38.57, 56.79, 15.61°) |
| OKLab | oklab(49.2% 0.1649 0.0378) |
| OKLCH | oklch(49.2% 0.169 12.9) |
| XYZ | xyz(18.5322, 10.4135, 6.6632) |
| Luminance | 0.1041 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 2.94
Raspberry (survey)
#B00149
ΔE00 3.64
Purplish Red
#B0054B
ΔE00 3.89
Rose Red
#BE013C
ΔE00 4.34
Cranberry
#9E003A
ΔE00 4.70
Ruby
#CA0147
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2545 #25AB8B
analogous
#AB2588 #AB2545 #AB4825
triadic
#AB2545 #45AB25 #2545AB
tetradic
#AB2545 #88AB25 #25AB8B #4825AB
square
#AB2545 #88AB25 #25AB8B #4825AB
split-complementary
#AB2545 #25AB48 #2588AB
monochromatic
#460F1C #791A31 #AB2545 #D4395E #DF6B87
Accessibility & contrast
On white
6.81
#AB2545 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#AB2545 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2545
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2545 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2545 | 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)
#4A4945
Deuteranopia (green-blind)
#6D6541
Tritanopia (blue-blind)
#BB0033
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #ab2545; /* rgb */ color: rgb(171, 37, 69); /* oklch */ color: oklch(49.2% 0.169 12.9);
Tailwind
colors: {
custom: {
50: '#cb6d78',
500: '#ab2545',
950: '#000000',
},
}SCSS
$custom: #ab2545; $custom-light: #cb6d78; $custom-dark: #000000;
JSON
{
"hex": "#ab2545",
"rgb": {
"r": 171,
"g": 37,
"b": 69
},
"hsl": {
"h": 345.672,
"s": 64.423,
"l": 40.784
},
"oklch": {
"l": 0.49201,
"c": 0.16917,
"h": 12.9
},
"luminance": 0.10411
}Semantic roles & 50–950 ramp
primary
#AB2545
secondary
#67C5AF
accent
#E7C040
background
#FDF6F7
surface
#FAECED
border
#D3C7C8
text
#150808
muted
#837A7B