#AB345F#AB345F
#AB345F is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.3% C 0.158 H 2.5°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).
Color values
| HEX | #AB345F |
|---|---|
| RGB | rgb(171, 52, 95) |
| HSL | hsl(338, 53%, 44%) |
| HSV | hsv(338, 70%, 67%) |
| CMYK | cmyk(0%, 69.6%, 44.4%, 32.9%) |
| CIE-LAB | lab(41.12, 51.61, 2.41) |
| CIE-LCH | lch(41.12, 51.67, 2.68°) |
| OKLab | oklab(51.3% 0.1579 0.0068) |
| OKLCH | oklch(51.3% 0.158 2.5) |
| XYZ | xyz(20.0896, 11.9427, 12.0715) |
| Luminance | 0.1194 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 3.64
Purplish Red
#B0054B
ΔE00 5.54
Deep Pink
#CB0162
ΔE00 5.69
Violet Red
#A50055
ΔE00 5.81
Raspberry (survey)
#B00149
ΔE00 5.96
Light Maroon
#A24857
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB345F #34AB80
analogous
#AB349A #AB345F #AB4434
triadic
#AB345F #5FAB34 #345FAB
tetradic
#AB345F #9AAB34 #34AB80 #4434AB
square
#AB345F #9AAB34 #34AB80 #4434AB
split-complementary
#AB345F #34AB44 #349AAB
monochromatic
#4D172B #7C2645 #AB345F #CA527D #D981A1
Accessibility & contrast
On white
6.20
#AB345F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#AB345F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB345F
6.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB345F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB345F | 1.00 | 6.20 | 3.39 | 6.20 |
| #FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D5260
Deuteranopia (green-blind)
#6D695C
Tritanopia (blue-blind)
#BA2346
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #ab345f; /* rgb */ color: rgb(171, 52, 95); /* oklch */ color: oklch(51.3% 0.158 2.5);
Tailwind
colors: {
custom: {
50: '#c9748c',
500: '#ab345f',
950: '#000000',
},
}SCSS
$custom: #ab345f; $custom-light: #c9748c; $custom-dark: #000000;
JSON
{
"hex": "#ab345f",
"rgb": {
"r": 171,
"g": 52,
"b": 95
},
"hsl": {
"h": 338.319,
"s": 53.363,
"l": 43.725
},
"oklch": {
"l": 0.51302,
"c": 0.15808,
"h": 2.5
},
"luminance": 0.1194
}Semantic roles & 50–950 ramp
primary
#AB345F
secondary
#79C2A8
accent
#DDA84B
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090C
muted
#837B7D