#AB327C#AB327C

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

Color values

HEX#AB327C
RGBrgb(171, 50, 124)
HSLhsl(323, 55%, 43%)
HSVhsv(323, 71%, 67%)
CMYKcmyk(0%, 70.8%, 27.5%, 32.9%)
CIE-LABlab(41.84, 55.69, -14.57)
CIE-LCHlch(41.84, 57.57, 345.34°)
OKLaboklab(52.15% 0.1691 -0.0384)
OKLCHoklch(52.15% 0.173 347.2)
XYZxyz(21.5742, 12.3967, 20.3215)
Luminance0.1239 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB327C #32AB61
analogous
#9D32AB #AB327C #AB323F
triadic
#AB327C #7CAB32 #327CAB
tetradic
#AB327C #AB9D32 #32AB61 #323FAB
square
#AB327C #AB9D32 #32AB61 #323FAB
split-complementary
#AB327C #3FAB32 #32AB9D
monochromatic
#4C1637 #7C245A #AB327C #CB4F9B #D97EB6

Accessibility & contrast

On white

6.04
#AB327C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB327C
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB327C#FFFFFF#000000##FFFFFF
##AB327C1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42557E
Deuteranopia (green-blind)
#656A79
Tritanopia (blue-blind)
#B72E52
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ab327c;
/* rgb */ color: rgb(171, 50, 124);
/* oklch */ color: oklch(52.2% 0.173 347.2);
Tailwind
colors: {
  custom: {
    50: '#c874a2',
    500: '#ab327c',
    950: '#000000',
  },
}
SCSS
$custom: #ab327c;
$custom-light: #c874a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab327c",
  "rgb": {
    "r": 171,
    "g": 50,
    "b": 124
  },
  "hsl": {
    "h": 323.306,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52152,
    "c": 0.17339,
    "h": 347.2
  },
  "luminance": 0.12394
}

Semantic roles & 50–950 ramp

primary
#AB327C
secondary
#77C294
accent
#DE834A
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090F
muted
#827B7E

Preview Lab

Preview with #AB327C

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

Preview Lab → · Contrast checker → · Palette generator →

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