#AB2958#AB2958
#AB2958 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.0% C 0.169 H 4.1°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).
Color values
| HEX | #AB2958 |
|---|---|
| RGB | rgb(171, 41, 88) |
| HSL | hsl(338, 61%, 42%) |
| HSV | hsv(338, 76%, 67%) |
| CMYK | cmyk(0%, 76%, 48.5%, 32.9%) |
| CIE-LAB | lab(39.50, 54.93, 4.48) |
| CIE-LCH | lch(39.50, 55.11, 4.67°) |
| OKLab | oklab(50.04% 0.1681 0.012) |
| OKLCH | oklch(50.04% 0.169 4.1) |
| XYZ | xyz(19.3506, 10.9510, 10.3254) |
| Luminance | 0.1095 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purplish Red
#B0054B
ΔE00 3.64
Raspberry (survey)
#B00149
ΔE00 4.08
Violet Red
#A50055
ΔE00 4.49
Light Burgundy
#A8415B
ΔE00 4.51
Berry
#990F4B
ΔE00 5.32
Deep Pink
#CB0162
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB2958 #29AB7C
analogous
#AB2999 #AB2958 #AB3B29
triadic
#AB2958 #58AB29 #2958AB
tetradic
#AB2958 #99AB29 #29AB7C #3B29AB
square
#AB2958 #99AB29 #29AB7C #3B29AB
split-complementary
#AB2958 #29AB3B #2999AB
monochromatic
#481125 #7A1D3F #AB2958 #D14074 #DD7198
Accessibility & contrast
On white
6.58
#AB2958 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#AB2958 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB2958
6.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB2958 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB2958 | 1.00 | 6.58 | 3.19 | 6.58 |
| #FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#484D59
Deuteranopia (green-blind)
#6B6655
Tritanopia (blue-blind)
#BA0A3D
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #ab2958; /* rgb */ color: rgb(171, 41, 88); /* oklch */ color: oklch(50.0% 0.169 4.1);
Tailwind
colors: {
custom: {
50: '#ca6f86',
500: '#ab2958',
950: '#000000',
},
}SCSS
$custom: #ab2958; $custom-light: #ca6f86; $custom-dark: #000000;
JSON
{
"hex": "#ab2958",
"rgb": {
"r": 171,
"g": 41,
"b": 88
},
"hsl": {
"h": 338.308,
"s": 61.321,
"l": 41.569
},
"oklch": {
"l": 0.50036,
"c": 0.16855,
"h": 4.1
},
"luminance": 0.10948
}Semantic roles & 50–950 ramp
primary
#AB2958
secondary
#6CC4A4
accent
#E4AA43
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080B
muted
#837B7C