#AB395F#AB395F
#AB395F is a mid, vivid pink. Relative luminance 0.124; OKLCH L 51.8% C 0.152 H 3.6°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #AB395F |
|---|---|
| RGB | rgb(171, 57, 95) |
| HSL | hsl(340, 50%, 45%) |
| HSV | hsv(340, 67%, 67%) |
| CMYK | cmyk(0%, 66.7%, 44.4%, 32.9%) |
| CIE-LAB | lab(41.87, 49.58, 3.48) |
| CIE-LCH | lch(41.87, 49.70, 4.02°) |
| OKLab | oklab(51.85% 0.1515 0.0095) |
| OKLCH | oklch(51.85% 0.152 3.6) |
| XYZ | xyz(20.3248, 12.4129, 12.1499) |
| Luminance | 0.1241 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Light Burgundy
#A8415B
ΔE00 2.64
Light Maroon
#A24857
ΔE00 5.44
Dark Rose
#B5485D
ΔE00 5.73
Purplish Red
#B0054B
ΔE00 5.97
Deep Pink
#CB0162
ΔE00 5.98
Raspberry (survey)
#B00149
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB395F #39AB85
analogous
#AB3998 #AB395F #AB4C39
triadic
#AB395F #5FAB39 #395FAB
tetradic
#AB395F #98AB39 #39AB85 #4C39AB
square
#AB395F #98AB39 #39AB85 #4C39AB
split-complementary
#AB395F #39AB4C #3998AB
monochromatic
#4F1A2C #7D2A46 #AB395F #C8597E #D787A2
Accessibility & contrast
On white
6.03
#AB395F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#AB395F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB395F
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB395F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB395F | 1.00 | 6.03 | 3.48 | 6.03 |
| #FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#515560
Deuteranopia (green-blind)
#6F6B5C
Tritanopia (blue-blind)
#B92A48
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #ab395f; /* rgb */ color: rgb(171, 57, 95); /* oklch */ color: oklch(51.8% 0.152 3.6);
Tailwind
colors: {
custom: {
50: '#c9778c',
500: '#ab395f',
950: '#000000',
},
}SCSS
$custom: #ab395f; $custom-light: #c9778c; $custom-dark: #000000;
JSON
{
"hex": "#ab395f",
"rgb": {
"r": 171,
"g": 57,
"b": 95
},
"hsl": {
"h": 340,
"s": 50,
"l": 44.706
},
"oklch": {
"l": 0.5185,
"c": 0.15176,
"h": 3.6
},
"luminance": 0.1241
}Semantic roles & 50–950 ramp
primary
#AB395F
secondary
#7FC1AB
accent
#DAAB4E
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#14090C
muted
#827B7D