#AB2948#AB2948
#AB2948 is a mid, vivid red. Relative luminance 0.107; OKLCH L 49.6% C 0.166 H 12.2°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2948 |
|---|---|
| RGB | rgb(171, 41, 72) |
| HSL | hsl(346, 61%, 42%) |
| HSV | hsv(346, 76%, 67%) |
| CMYK | cmyk(0%, 76%, 57.9%, 32.9%) |
| CIE-LAB | lab(39.10, 53.63, 14.08) |
| CIE-LCH | lch(39.10, 55.45, 14.71°) |
| OKLab | oklab(49.61% 0.162 0.0351) |
| OKLCH | oklch(49.61% 0.166 12.2) |
| XYZ | xyz(18.7591, 10.7144, 7.2099) |
| Luminance | 0.1071 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Raspberry (survey)
#B00149
ΔE00 3.65
Rouge
#AB1239
ΔE00 3.68
Purplish Red
#B0054B
ΔE00 3.81
Rose Red
#BE013C
ΔE00 4.80
Cranberry
#9E003A
ΔE00 5.16
Light Burgundy
#A8415B
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2948 #29AB8C
analogous
#AB2989 #AB2948 #AB4B29
triadic
#AB2948 #48AB29 #2948AB
tetradic
#AB2948 #89AB29 #29AB8C #4B29AB
square
#AB2948 #89AB29 #29AB8C #4B29AB
split-complementary
#AB2948 #29AB4B #2989AB
monochromatic
#48111E #7A1D33 #AB2948 #D14063 #DD718B
Accessibility & contrast
On white
6.68
#AB2948 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#AB2948 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2948
6.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2948 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2948 | 1.00 | 6.68 | 3.14 | 6.68 |
| #FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C4B48
Deuteranopia (green-blind)
#6D6645
Tritanopia (blue-blind)
#BB0036
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #ab2948; /* rgb */ color: rgb(171, 41, 72); /* oklch */ color: oklch(49.6% 0.166 12.2);
Tailwind
colors: {
custom: {
50: '#cb6e7a',
500: '#ab2948',
950: '#000000',
},
}SCSS
$custom: #ab2948; $custom-light: #cb6e7a; $custom-dark: #000000;
JSON
{
"hex": "#ab2948",
"rgb": {
"r": 171,
"g": 41,
"b": 72
},
"hsl": {
"h": 345.692,
"s": 61.321,
"l": 41.569
},
"oklch": {
"l": 0.49607,
"c": 0.16574,
"h": 12.2
},
"luminance": 0.10712
}Semantic roles & 50–950 ramp
primary
#AB2948
secondary
#6CC4AF
accent
#E4BE43
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#150809
muted
#837B7B