#AB3058#AB3058
#AB3058 is a mid, vivid pink. Relative luminance 0.115; OKLCH L 50.7% C 0.161 H 5.4°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).
Color values
| HEX | #AB3058 |
|---|---|
| RGB | rgb(171, 48, 88) |
| HSL | hsl(340, 56%, 43%) |
| HSV | hsv(340, 72%, 67%) |
| CMYK | cmyk(0%, 71.9%, 48.5%, 32.9%) |
| CIE-LAB | lab(40.38, 52.47, 5.74) |
| CIE-LCH | lch(40.38, 52.79, 6.24°) |
| OKLab | oklab(50.68% 0.1603 0.0152) |
| OKLCH | oklch(50.68% 0.161 5.4) |
| XYZ | xyz(19.6146, 11.4790, 10.4134) |
| Luminance | 0.1148 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.29
Purplish Red
#B0054B
ΔE00 4.11
Raspberry (survey)
#B00149
ΔE00 4.47
Violet Red
#A50055
ΔE00 5.72
Deep Pink
#CB0162
ΔE00 5.78
Light Maroon
#A24857
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB3058 #30AB83
analogous
#AB3095 #AB3058 #AB4630
triadic
#AB3058 #58AB30 #3058AB
tetradic
#AB3058 #95AB30 #30AB83 #4630AB
square
#AB3058 #95AB30 #30AB83 #4630AB
split-complementary
#AB3058 #30AB46 #3095AB
monochromatic
#4B1527 #7B233F #AB3058 #CD4C76 #DA7B9A
Accessibility & contrast
On white
6.37
#AB3058 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#AB3058 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB3058
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB3058 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB3058 | 1.00 | 6.37 | 3.30 | 6.37 |
| #FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C5059
Deuteranopia (green-blind)
#6D6855
Tritanopia (blue-blind)
#BA1940
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #ab3058; /* rgb */ color: rgb(171, 48, 88); /* oklch */ color: oklch(50.7% 0.161 5.4);
Tailwind
colors: {
custom: {
50: '#c97286',
500: '#ab3058',
950: '#000000',
},
}SCSS
$custom: #ab3058; $custom-light: #c97286; $custom-dark: #000000;
JSON
{
"hex": "#ab3058",
"rgb": {
"r": 171,
"g": 48,
"b": 88
},
"hsl": {
"h": 340.488,
"s": 56.164,
"l": 42.941
},
"oklch": {
"l": 0.50684,
"c": 0.16097,
"h": 5.4
},
"luminance": 0.11476
}Semantic roles & 50–950 ramp
primary
#AB3058
secondary
#74C3A9
accent
#DFAE48
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080B
muted
#837B7C