#AB3C8A#AB3C8A

#AB3C8A is a mid, vivid pink. Relative luminance 0.137; OKLCH L 53.8% C 0.169 H 341.4°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#AB3C8A
RGBrgb(171, 60, 138)
HSLhsl(318, 48%, 45%)
HSVhsv(318, 65%, 67%)
CMYKcmyk(0%, 64.9%, 19.3%, 32.9%)
CIE-LABlab(43.84, 53.65, -20.07)
CIE-LCHlch(43.84, 57.28, 339.48°)
OKLaboklab(53.8% 0.16 -0.0539)
OKLCHoklch(53.8% 0.169 341.4)
XYZxyz(22.9985, 13.7267, 25.4781)
Luminance0.1373 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3C8A #3CAB5D
analogous
#943CAB #AB3C8A #AB3C52
triadic
#AB3C8A #8AAB3C #3C8AAB
tetradic
#AB3C8A #AB943C #3CAB5D #3C52AB
square
#AB3C8A #AB943C #3CAB5D #3C52AB
split-complementary
#AB3C8A #52AB3C #3CAB94
monochromatic
#501C41 #7E2C65 #AB3C8A #C65EA7 #D68BC0

Accessibility & contrast

On white

5.61
#AB3C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#AB3C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3C8A
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3C8A#FFFFFF#000000##FFFFFF
##AB3C8A1.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445C8C
Deuteranopia (green-blind)
#656E87
Tritanopia (blue-blind)
#B53E5D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ab3c8a;
/* rgb */ color: rgb(171, 60, 138);
/* oklch */ color: oklch(53.8% 0.169 341.4);
Tailwind
colors: {
  custom: {
    50: '#c779ac',
    500: '#ab3c8a',
    950: '#000000',
  },
}
SCSS
$custom: #ab3c8a;
$custom-light: #c779ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3c8a",
  "rgb": {
    "r": 171,
    "g": 60,
    "b": 138
  },
  "hsl": {
    "h": 317.838,
    "s": 48.052,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53802,
    "c": 0.16882,
    "h": 341.4
  },
  "luminance": 0.13725
}

Semantic roles & 50–950 ramp

primary
#AB3C8A
secondary
#82C195
accent
#D87850
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#130A10
muted
#827C7F

Preview Lab

Preview with #AB3C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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