#AB405F#AB405F
#AB405F is a mid, vivid pink. Relative luminance 0.132; OKLCH L 52.7% C 0.142 H 5.5°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).
Color values
| HEX | #AB405F |
|---|---|
| RGB | rgb(171, 64, 95) |
| HSL | hsl(343, 46%, 46%) |
| HSV | hsv(343, 63%, 67%) |
| CMYK | cmyk(0%, 62.6%, 44.4%, 32.9%) |
| CIE-LAB | lab(42.99, 46.52, 5.10) |
| CIE-LCH | lch(42.99, 46.80, 6.26°) |
| OKLab | oklab(52.69% 0.1418 0.0136) |
| OKLCH | oklch(52.69% 0.142 5.5) |
| XYZ | xyz(20.6950, 13.1534, 12.2733) |
| Luminance | 0.1315 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 1.29
Light Maroon
#A24857
ΔE00 4.04
Dark Rose
#B5485D
ΔE00 4.21
Deep Rose
#C74767
ΔE00 6.48
Dark Pink
#CB416B
ΔE00 6.59
Deep Pink
#CB0162
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB405F #40AB8C
analogous
#AB4094 #AB405F #AB5640
triadic
#AB405F #5FAB40 #405FAB
tetradic
#AB405F #94AB40 #40AB8C #5640AB
square
#AB405F #94AB40 #40AB8C #5640AB
split-complementary
#AB405F #40AB56 #4094AB
monochromatic
#521F2E #7E2F46 #AB405F #C56380 #D590A4
Accessibility & contrast
On white
5.78
#AB405F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#AB405F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB405F
5.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB405F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB405F | 1.00 | 5.78 | 3.63 | 5.78 |
| #FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#565860
Deuteranopia (green-blind)
#726D5D
Tritanopia (blue-blind)
#B9334C
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #ab405f; /* rgb */ color: rgb(171, 64, 95); /* oklch */ color: oklch(52.7% 0.142 5.5);
Tailwind
colors: {
custom: {
50: '#c87a8c',
500: '#ab405f',
950: '#000000',
},
}SCSS
$custom: #ab405f; $custom-light: #c87a8c; $custom-dark: #000000;
JSON
{
"hex": "#ab405f",
"rgb": {
"r": 171,
"g": 64,
"b": 95
},
"hsl": {
"h": 342.617,
"s": 45.532,
"l": 46.078
},
"oklch": {
"l": 0.5269,
"c": 0.14242,
"h": 5.5
},
"luminance": 0.13151
}Semantic roles & 50–950 ramp
primary
#AB405F
secondary
#86C1B0
accent
#D5AF53
background
#FCF7F8
surface
#F9EEF0
border
#D2C9CB
text
#140A0C
muted
#827C7D