#AB2541#AB2541
#AB2541 is a mid, vivid red. Relative luminance 0.104; OKLCH L 49.1% C 0.169 H 14.8°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2541 |
|---|---|
| RGB | rgb(171, 37, 65) |
| HSL | hsl(347, 64%, 41%) |
| HSV | hsv(347, 78%, 67%) |
| CMYK | cmyk(0%, 78.4%, 62%, 32.9%) |
| CIE-LAB | lab(38.49, 54.43, 17.71) |
| CIE-LCH | lch(38.49, 57.24, 18.02°) |
| OKLab | oklab(49.11% 0.1633 0.0432) |
| OKLCH | oklch(49.11% 0.169 14.8) |
| XYZ | xyz(18.4122, 10.3655, 6.0312) |
| Luminance | 0.1036 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 2.11
Rose Red
#BE013C
ΔE00 3.67
Raspberry (survey)
#B00149
ΔE00 4.71
Cranberry
#9E003A
ΔE00 5.00
Purplish Red
#B0054B
ΔE00 5.02
Ruby
#CA0147
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2541 #25AB8F
analogous
#AB2584 #AB2541 #AB4C25
triadic
#AB2541 #41AB25 #2541AB
tetradic
#AB2541 #84AB25 #25AB8F #4C25AB
square
#AB2541 #84AB25 #25AB8F #4C25AB
split-complementary
#AB2541 #25AB4C #2584AB
monochromatic
#460F1B #791A2E #AB2541 #D43959 #DF6B84
Accessibility & contrast
On white
6.83
#AB2541 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#AB2541 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2541
6.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2541 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2541 | 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)
#4B4941
Deuteranopia (green-blind)
#6D653D
Tritanopia (blue-blind)
#BC0031
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #ab2541; /* rgb */ color: rgb(171, 37, 65); /* oklch */ color: oklch(49.1% 0.169 14.8);
Tailwind
colors: {
custom: {
50: '#cb6d75',
500: '#ab2541',
950: '#000000',
},
}SCSS
$custom: #ab2541; $custom-light: #cb6d75; $custom-dark: #000000;
JSON
{
"hex": "#ab2541",
"rgb": {
"r": 171,
"g": 37,
"b": 65
},
"hsl": {
"h": 347.463,
"s": 64.423,
"l": 40.784
},
"oklch": {
"l": 0.49111,
"c": 0.16892,
"h": 14.8
},
"luminance": 0.10363
}Semantic roles & 50–950 ramp
primary
#AB2541
secondary
#67C5B1
accent
#E7C540
background
#FDF6F7
surface
#FAECED
border
#D3C7C8
text
#150808
muted
#837A7B