#AB2845#AB2845
#AB2845 is a mid, vivid red. Relative luminance 0.106; OKLCH L 49.5% C 0.166 H 13.5°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2845 |
|---|---|
| RGB | rgb(171, 40, 69) |
| HSL | hsl(347, 62%, 41%) |
| HSV | hsv(347, 77%, 67%) |
| CMYK | cmyk(0%, 76.6%, 59.6%, 32.9%) |
| CIE-LAB | lab(38.91, 53.75, 15.73) |
| CIE-LCH | lch(38.91, 56.01, 16.32°) |
| OKLab | oklab(49.45% 0.1619 0.0388) |
| OKLCH | oklch(49.45% 0.166 13.5) |
| XYZ | xyz(18.6294, 10.6079, 6.6956) |
| Luminance | 0.1061 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 2.98
Raspberry (survey)
#B00149
ΔE00 4.14
Rose Red
#BE013C
ΔE00 4.23
Purplish Red
#B0054B
ΔE00 4.38
Cranberry
#9E003A
ΔE00 5.09
Ruby
#CA0147
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2845 #28AB8E
analogous
#AB2887 #AB2845 #AB4D28
triadic
#AB2845 #45AB28 #2845AB
tetradic
#AB2845 #87AB28 #28AB8E #4D28AB
square
#AB2845 #87AB28 #28AB8E #4D28AB
split-complementary
#AB2845 #28AB4D #2887AB
monochromatic
#48111D #791C31 #AB2845 #D23E5F #DE7088
Accessibility & contrast
On white
6.73
#AB2845 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#AB2845 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2845
6.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2845 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2845 | 1.00 | 6.73 | 3.12 | 6.73 |
| #FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C4A45
Deuteranopia (green-blind)
#6D6542
Tritanopia (blue-blind)
#BB0034
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #ab2845; /* rgb */ color: rgb(171, 40, 69); /* oklch */ color: oklch(49.5% 0.166 13.5);
Tailwind
colors: {
custom: {
50: '#cb6e78',
500: '#ab2845',
950: '#000000',
},
}SCSS
$custom: #ab2845; $custom-light: #cb6e78; $custom-dark: #000000;
JSON
{
"hex": "#ab2845",
"rgb": {
"r": 171,
"g": 40,
"b": 69
},
"hsl": {
"h": 346.718,
"s": 62.085,
"l": 41.373
},
"oklch": {
"l": 0.4945,
"c": 0.16645,
"h": 13.5
},
"luminance": 0.10605
}Semantic roles & 50–950 ramp
primary
#AB2845
secondary
#6AC4B0
accent
#E5C143
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150808
muted
#837B7B