#AB327D#AB327D

#AB327D is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.2% C 0.174 H 346.7°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#AB327D
RGBrgb(171, 50, 125)
HSLhsl(323, 55%, 43%)
HSVhsv(323, 71%, 67%)
CMYKcmyk(0%, 70.8%, 26.9%, 32.9%)
CIE-LABlab(41.88, 55.82, -15.13)
CIE-LCHlch(41.88, 57.83, 344.84°)
OKLaboklab(52.19% 0.1693 -0.04)
OKLCHoklch(52.19% 0.174 346.7)
XYZxyz(21.6378, 12.4221, 20.6562)
Luminance0.1242 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB327D #32AB60
analogous
#9C32AB #AB327D #AB3240
triadic
#AB327D #7DAB32 #327DAB
tetradic
#AB327D #AB9C32 #32AB60 #3240AB
square
#AB327D #AB9C32 #32AB60 #3240AB
split-complementary
#AB327D #40AB32 #32AB9C
monochromatic
#4C1638 #7C245A #AB327D #CB4F9C #D97EB7

Accessibility & contrast

On white

6.03
#AB327D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#AB327D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB327D
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB327D#FFFFFF#000000##FFFFFF
##AB327D1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41567F
Deuteranopia (green-blind)
#656A7A
Tritanopia (blue-blind)
#B72F53
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ab327d;
/* rgb */ color: rgb(171, 50, 125);
/* oklch */ color: oklch(52.2% 0.174 346.7);
Tailwind
colors: {
  custom: {
    50: '#c874a2',
    500: '#ab327d',
    950: '#000000',
  },
}
SCSS
$custom: #ab327d;
$custom-light: #c874a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab327d",
  "rgb": {
    "r": 171,
    "g": 50,
    "b": 125
  },
  "hsl": {
    "h": 322.81,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52194,
    "c": 0.17397,
    "h": 346.7
  },
  "luminance": 0.1242
}

Semantic roles & 50–950 ramp

primary
#AB327D
secondary
#77C293
accent
#DE824A
background
#FCF7FA
surface
#F9EDF3
border
#D2C8CD
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AB327D

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

Preview Lab → · Contrast checker → · Palette generator →

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