#AB327F#AB327F

#AB327F is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.3% C 0.175 H 345.8°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#AB327F
RGBrgb(171, 50, 127)
HSLhsl(322, 55%, 43%)
HSVhsv(322, 71%, 67%)
CMYKcmyk(0%, 70.8%, 25.7%, 32.9%)
CIE-LABlab(41.96, 56.08, -16.24)
CIE-LCHlch(41.96, 58.39, 343.85°)
OKLaboklab(52.28% 0.1698 -0.0431)
OKLCHoklch(52.28% 0.175 345.8)
XYZxyz(21.7668, 12.4737, 21.3359)
Luminance0.1247 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB327F #32AB5E
analogous
#9A32AB #AB327F #AB3242
triadic
#AB327F #7FAB32 #327FAB
tetradic
#AB327F #AB9A32 #32AB5E #3242AB
square
#AB327F #AB9A32 #32AB5E #3242AB
split-complementary
#AB327F #42AB32 #32AB9A
monochromatic
#4C1639 #7C245C #AB327F #CB4F9E #D97EB8

Accessibility & contrast

On white

6.01
#AB327F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#AB327F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB327F
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB327F#FFFFFF#000000##FFFFFF
##AB327F1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415681
Deuteranopia (green-blind)
#646B7C
Tritanopia (blue-blind)
#B73054
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ab327f;
/* rgb */ color: rgb(171, 50, 127);
/* oklch */ color: oklch(52.3% 0.175 345.8);
Tailwind
colors: {
  custom: {
    50: '#c874a4',
    500: '#ab327f',
    950: '#000000',
  },
}
SCSS
$custom: #ab327f;
$custom-light: #c874a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab327f",
  "rgb": {
    "r": 171,
    "g": 50,
    "b": 127
  },
  "hsl": {
    "h": 321.818,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52279,
    "c": 0.17514,
    "h": 345.8
  },
  "luminance": 0.12471
}

Semantic roles & 50–950 ramp

primary
#AB327F
secondary
#77C292
accent
#DE804A
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AB327F

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

Preview Lab → · Contrast checker → · Palette generator →

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