#AB395E#AB395E
#AB395E is a mid, vivid pink. Relative luminance 0.124; OKLCH L 51.8% C 0.151 H 4.2°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #AB395E |
|---|---|
| RGB | rgb(171, 57, 94) |
| HSL | hsl(341, 50%, 45%) |
| HSV | hsv(341, 67%, 67%) |
| CMYK | cmyk(0%, 66.7%, 45%, 32.9%) |
| CIE-LAB | lab(41.84, 49.48, 4.06) |
| CIE-LCH | lch(41.84, 49.64, 4.70°) |
| OKLab | oklab(51.82% 0.1511 0.011) |
| OKLCH | oklch(51.82% 0.151 4.2) |
| XYZ | xyz(20.2796, 12.3948, 11.9120) |
| Luminance | 0.1239 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 2.40
Light Maroon
#A24857
ΔE00 5.21
Dark Rose
#B5485D
ΔE00 5.53
Purplish Red
#B0054B
ΔE00 5.84
Deep Pink
#CB0162
ΔE00 6.01
Raspberry (survey)
#B00149
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB395E #39AB86
analogous
#AB3997 #AB395E #AB4D39
triadic
#AB395E #5EAB39 #395EAB
tetradic
#AB395E #97AB39 #39AB86 #4D39AB
square
#AB395E #97AB39 #39AB86 #4D39AB
split-complementary
#AB395E #39AB4D #3997AB
monochromatic
#4F1A2C #7D2A45 #AB395E #C8597D #D787A1
Accessibility & contrast
On white
6.04
#AB395E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#AB395E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB395E
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB395E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB395E | 1.00 | 6.04 | 3.48 | 6.04 |
| #FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#51555F
Deuteranopia (green-blind)
#6F6B5B
Tritanopia (blue-blind)
#BA2A48
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #ab395e; /* rgb */ color: rgb(171, 57, 94); /* oklch */ color: oklch(51.8% 0.151 4.2);
Tailwind
colors: {
custom: {
50: '#c9778b',
500: '#ab395e',
950: '#000000',
},
}SCSS
$custom: #ab395e; $custom-light: #c9778b; $custom-dark: #000000;
JSON
{
"hex": "#ab395e",
"rgb": {
"r": 171,
"g": 57,
"b": 94
},
"hsl": {
"h": 340.526,
"s": 50,
"l": 44.706
},
"oklch": {
"l": 0.5182,
"c": 0.15149,
"h": 4.2
},
"luminance": 0.12392
}Semantic roles & 50–950 ramp
primary
#AB395E
secondary
#7FC1AC
accent
#DAAC4E
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#14090C
muted
#827B7D