#AB2542#AB2542
#AB2542 is a mid, vivid red. Relative luminance 0.104; OKLCH L 49.1% C 0.169 H 14.3°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2542 |
|---|---|
| RGB | rgb(171, 37, 66) |
| HSL | hsl(347, 64%, 41%) |
| HSV | hsv(347, 78%, 67%) |
| CMYK | cmyk(0%, 78.4%, 61.4%, 32.9%) |
| CIE-LAB | lab(38.51, 54.50, 17.10) |
| CIE-LCH | lch(38.51, 57.12, 17.42°) |
| OKLab | oklab(49.13% 0.1637 0.0419) |
| OKLCH | oklch(49.13% 0.169 14.3) |
| XYZ | xyz(18.4414, 10.3772, 6.1851) |
| Luminance | 0.1037 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 2.28
Rose Red
#BE013C
ΔE00 3.81
Raspberry (survey)
#B00149
ΔE00 4.43
Purplish Red
#B0054B
ΔE00 4.73
Cranberry
#9E003A
ΔE00 4.89
Ruby
#CA0147
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2542 #25AB8E
analogous
#AB2585 #AB2542 #AB4B25
triadic
#AB2542 #42AB25 #2542AB
tetradic
#AB2542 #85AB25 #25AB8E #4B25AB
square
#AB2542 #85AB25 #25AB8E #4B25AB
split-complementary
#AB2542 #25AB4B #2585AB
monochromatic
#460F1B #791A2F #AB2542 #D4395B #DF6B84
Accessibility & contrast
On white
6.83
#AB2542 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#AB2542 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2542
6.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2542 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2542 | 1.00 | 6.83 | 3.07 | 6.83 |
| #FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B4942
Deuteranopia (green-blind)
#6D653E
Tritanopia (blue-blind)
#BC0031
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #ab2542; /* rgb */ color: rgb(171, 37, 66); /* oklch */ color: oklch(49.1% 0.169 14.3);
Tailwind
colors: {
custom: {
50: '#cb6d76',
500: '#ab2542',
950: '#000000',
},
}SCSS
$custom: #ab2542; $custom-light: #cb6d76; $custom-dark: #000000;
JSON
{
"hex": "#ab2542",
"rgb": {
"r": 171,
"g": 37,
"b": 66
},
"hsl": {
"h": 347.015,
"s": 64.423,
"l": 40.784
},
"oklch": {
"l": 0.49133,
"c": 0.16897,
"h": 14.3
},
"luminance": 0.10374
}Semantic roles & 50–950 ramp
primary
#AB2542
secondary
#67C5B1
accent
#E7C340
background
#FDF6F7
surface
#FAECED
border
#D3C7C8
text
#150808
muted
#837A7B