#AB2848#AB2848
#AB2848 is a mid, vivid red. Relative luminance 0.106; OKLCH L 49.5% C 0.167 H 12.0°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2848 |
|---|---|
| RGB | rgb(171, 40, 72) |
| HSL | hsl(345, 62%, 41%) |
| HSV | hsv(345, 77%, 67%) |
| CMYK | cmyk(0%, 76.6%, 57.9%, 32.9%) |
| CIE-LAB | lab(38.98, 53.96, 13.92) |
| CIE-LCH | lch(38.98, 55.73, 14.46°) |
| OKLab | oklab(49.52% 0.163 0.0347) |
| OKLCH | oklch(49.52% 0.167 12) |
| XYZ | xyz(18.7249, 10.6461, 7.1985) |
| Luminance | 0.1064 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 3.48
Purplish Red
#B0054B
ΔE00 3.63
Rouge
#AB1239
ΔE00 3.68
Rose Red
#BE013C
ΔE00 4.84
Cranberry
#9E003A
ΔE00 5.03
Light Burgundy
#A8415B
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2848 #28AB8B
analogous
#AB288A #AB2848 #AB4A28
triadic
#AB2848 #48AB28 #2848AB
tetradic
#AB2848 #8AAB28 #28AB8B #4A28AB
square
#AB2848 #8AAB28 #28AB8B #4A28AB
split-complementary
#AB2848 #28AB4A #288AAB
monochromatic
#48111E #791C33 #AB2848 #D23E62 #DE708B
Accessibility & contrast
On white
6.71
#AB2848 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#AB2848 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2848
6.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2848 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2848 | 1.00 | 6.71 | 3.13 | 6.71 |
| #FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B4B48
Deuteranopia (green-blind)
#6D6545
Tritanopia (blue-blind)
#BB0036
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #ab2848; /* rgb */ color: rgb(171, 40, 72); /* oklch */ color: oklch(49.5% 0.167 12.0);
Tailwind
colors: {
custom: {
50: '#cb6e7a',
500: '#ab2848',
950: '#000000',
},
}SCSS
$custom: #ab2848; $custom-light: #cb6e7a; $custom-dark: #000000;
JSON
{
"hex": "#ab2848",
"rgb": {
"r": 171,
"g": 40,
"b": 72
},
"hsl": {
"h": 345.344,
"s": 62.085,
"l": 41.373
},
"oklch": {
"l": 0.4952,
"c": 0.16669,
"h": 12
},
"luminance": 0.10643
}Semantic roles & 50–950 ramp
primary
#AB2848
secondary
#6AC4AE
accent
#E5BD43
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150809
muted
#837B7B