#AB326C#AB326C

#AB326C is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.5% C 0.165 H 355.2°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#AB326C
RGBrgb(171, 50, 108)
HSLhsl(331, 55%, 43%)
HSVhsv(331, 71%, 67%)
CMYKcmyk(0%, 70.8%, 36.8%, 32.9%)
CIE-LABlab(41.25, 53.76, -5.53)
CIE-LCHlch(41.25, 54.05, 354.13°)
OKLaboklab(51.53% 0.1647 -0.0139)
OKLCHoklch(51.53% 0.165 355.2)
XYZxyz(20.6432, 12.0243, 15.4183)
Luminance0.1202 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB326C #32AB71
analogous
#AB32A8 #AB326C #AB3532
triadic
#AB326C #6CAB32 #326CAB
tetradic
#AB326C #A8AB32 #32AB71 #3532AB
square
#AB326C #A8AB32 #32AB71 #3532AB
split-complementary
#AB326C #32AB35 #32A8AB
monochromatic
#4C1630 #7C244E #AB326C #CB4F8B #D97EAA

Accessibility & contrast

On white

6.17
#AB326C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#AB326C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB326C
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB326C#FFFFFF#000000##FFFFFF
##AB326C1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48536E
Deuteranopia (green-blind)
#6A6969
Tritanopia (blue-blind)
#B8274B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ab326c;
/* rgb */ color: rgb(171, 50, 108);
/* oklch */ color: oklch(51.5% 0.165 355.2);
Tailwind
colors: {
  custom: {
    50: '#c87396',
    500: '#ab326c',
    950: '#000000',
  },
}
SCSS
$custom: #ab326c;
$custom-light: #c87396;
$custom-dark: #000000;
JSON
{
  "hex": "#ab326c",
  "rgb": {
    "r": 171,
    "g": 50,
    "b": 108
  },
  "hsl": {
    "h": 331.24,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51531,
    "c": 0.1653,
    "h": 355.2
  },
  "luminance": 0.12022
}

Semantic roles & 50–950 ramp

primary
#AB326C
secondary
#77C29E
accent
#DE974A
background
#FCF7F9
surface
#F9EDF1
border
#D2C8CB
text
#14090D
muted
#827B7E

Preview Lab

Preview with #AB326C

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

Preview Lab → · Contrast checker → · Palette generator →

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