#AB397A#AB397A

#AB397A is a mid, vivid pink. Relative luminance 0.130; OKLCH L 52.8% C 0.163 H 348.9°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#AB397A
RGBrgb(171, 57, 122)
HSLhsl(326, 50%, 45%)
HSVhsv(326, 67%, 67%)
CMYKcmyk(0%, 66.7%, 28.7%, 32.9%)
CIE-LABlab(42.75, 52.69, -11.96)
CIE-LCHlch(42.75, 54.03, 347.22°)
OKLaboklab(52.8% 0.1601 -0.0313)
OKLCHoklch(52.8% 0.163 348.9)
XYZxyz(21.7715, 12.9916, 19.7696)
Luminance0.1299 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB397A #39AB6A
analogous
#A339AB #AB397A #AB3941
triadic
#AB397A #7AAB39 #397AAB
tetradic
#AB397A #ABA339 #39AB6A #3941AB
square
#AB397A #ABA339 #39AB6A #3941AB
split-complementary
#AB397A #41AB39 #39ABA3
monochromatic
#4F1A39 #7D2A59 #AB397A #C85998 #D787B5

Accessibility & contrast

On white

5.84
#AB397A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#AB397A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB397A
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB397A#FFFFFF#000000##FFFFFF
##AB397A1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48587C
Deuteranopia (green-blind)
#696C77
Tritanopia (blue-blind)
#B73454
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ab397a;
/* rgb */ color: rgb(171, 57, 122);
/* oklch */ color: oklch(52.8% 0.163 348.9);
Tailwind
colors: {
  custom: {
    50: '#c877a0',
    500: '#ab397a',
    950: '#000000',
  },
}
SCSS
$custom: #ab397a;
$custom-light: #c877a0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab397a",
  "rgb": {
    "r": 171,
    "g": 57,
    "b": 122
  },
  "hsl": {
    "h": 325.789,
    "s": 50,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52795,
    "c": 0.1631,
    "h": 348.9
  },
  "luminance": 0.12989
}

Semantic roles & 50–950 ramp

primary
#AB397A
secondary
#7FC19B
accent
#DA8A4E
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AB397A

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#AB397A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva