#AB2543#AB2543
#AB2543 is a mid, vivid red. Relative luminance 0.104; OKLCH L 49.2% C 0.169 H 13.9°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2543 |
|---|---|
| RGB | rgb(171, 37, 67) |
| HSL | hsl(347, 64%, 41%) |
| HSV | hsv(347, 78%, 67%) |
| CMYK | cmyk(0%, 78.4%, 60.8%, 32.9%) |
| CIE-LAB | lab(38.53, 54.56, 16.49) |
| CIE-LCH | lch(38.53, 57.00, 16.82°) |
| OKLab | oklab(49.16% 0.1641 0.0405) |
| OKLCH | oklch(49.16% 0.169 13.9) |
| XYZ | xyz(18.4712, 10.3891, 6.3418) |
| Luminance | 0.1039 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 2.47
Rose Red
#BE013C
ΔE00 3.97
Raspberry (survey)
#B00149
ΔE00 4.16
Purplish Red
#B0054B
ΔE00 4.44
Cranberry
#9E003A
ΔE00 4.80
Ruby
#CA0147
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2543 #25AB8D
analogous
#AB2586 #AB2543 #AB4A25
triadic
#AB2543 #43AB25 #2543AB
tetradic
#AB2543 #86AB25 #25AB8D #4A25AB
square
#AB2543 #86AB25 #25AB8D #4A25AB
split-complementary
#AB2543 #25AB4A #2586AB
monochromatic
#460F1C #791A2F #AB2543 #D4395C #DF6B85
Accessibility & contrast
On white
6.82
#AB2543 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#AB2543 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2543
6.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2543 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2543 | 1.00 | 6.82 | 3.08 | 6.82 |
| #FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B4943
Deuteranopia (green-blind)
#6D653F
Tritanopia (blue-blind)
#BB0032
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #ab2543; /* rgb */ color: rgb(171, 37, 67); /* oklch */ color: oklch(49.2% 0.169 13.9);
Tailwind
colors: {
custom: {
50: '#cb6d76',
500: '#ab2543',
950: '#000000',
},
}SCSS
$custom: #ab2543; $custom-light: #cb6d76; $custom-dark: #000000;
JSON
{
"hex": "#ab2543",
"rgb": {
"r": 171,
"g": 37,
"b": 67
},
"hsl": {
"h": 346.567,
"s": 64.423,
"l": 40.784
},
"oklch": {
"l": 0.49155,
"c": 0.16903,
"h": 13.9
},
"luminance": 0.10386
}Semantic roles & 50–950 ramp
primary
#AB2543
secondary
#67C5B0
accent
#E7C240
background
#FDF6F7
surface
#FAECED
border
#D3C7C8
text
#150808
muted
#837A7B