#AB327B#AB327B

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

Color values

HEX#AB327B
RGBrgb(171, 50, 123)
HSLhsl(324, 55%, 43%)
HSVhsv(324, 71%, 67%)
CMYKcmyk(0%, 70.8%, 28.1%, 32.9%)
CIE-LABlab(41.80, 55.56, -14.01)
CIE-LCHlch(41.80, 57.30, 345.84°)
OKLaboklab(52.11% 0.1688 -0.0369)
OKLCHoklch(52.11% 0.173 347.7)
XYZxyz(21.5113, 12.3715, 19.9901)
Luminance0.1237 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB327B #32AB62
analogous
#9E32AB #AB327B #AB323E
triadic
#AB327B #7BAB32 #327BAB
tetradic
#AB327B #AB9E32 #32AB62 #323EAB
square
#AB327B #AB9E32 #32AB62 #323EAB
split-complementary
#AB327B #3EAB32 #32AB9E
monochromatic
#4C1637 #7C2459 #AB327B #CB4F9A #D97EB5

Accessibility & contrast

On white

6.05
#AB327B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#AB327B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB327B
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB327B#FFFFFF#000000##FFFFFF
##AB327B1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42557D
Deuteranopia (green-blind)
#666A78
Tritanopia (blue-blind)
#B72E52
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ab327b;
/* rgb */ color: rgb(171, 50, 123);
/* oklch */ color: oklch(52.1% 0.173 347.7);
Tailwind
colors: {
  custom: {
    50: '#c874a1',
    500: '#ab327b',
    950: '#000000',
  },
}
SCSS
$custom: #ab327b;
$custom-light: #c874a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab327b",
  "rgb": {
    "r": 171,
    "g": 50,
    "b": 123
  },
  "hsl": {
    "h": 323.802,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52111,
    "c": 0.17282,
    "h": 347.7
  },
  "luminance": 0.12369
}

Semantic roles & 50–950 ramp

primary
#AB327B
secondary
#77C295
accent
#DE854A
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090F
muted
#827B7E

Preview Lab

Preview with #AB327B

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

Preview Lab → · Contrast checker → · Palette generator →

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