#AB2CA0#AB2CA0

#AB2CA0 is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.4% C 0.204 H 331.9°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#AB2CA0
RGBrgb(171, 44, 160)
HSLhsl(305, 59%, 42%)
HSVhsv(305, 74%, 67%)
CMYKcmyk(0%, 74.3%, 6.4%, 32.9%)
CIE-LABlab(42.76, 62.92, -35.03)
CIE-LCHlch(42.76, 72.01, 330.90°)
OKLaboklab(53.36% 0.1803 -0.0964)
OKLCHoklch(53.36% 0.204 331.9)
XYZxyz(24.0405, 12.9993, 34.4938)
Luminance0.1300 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2CA0 #2CAB37
analogous
#772CAB #AB2CA0 #AB2C60
triadic
#AB2CA0 #A0AB2C #2CA0AB
tetradic
#AB2CA0 #AB772C #2CAB37 #2C60AB
square
#AB2CA0 #AB772C #2CAB37 #2C60AB
split-complementary
#AB2CA0 #60AB2C #2CAB77
monochromatic
#4A1345 #7A1F72 #AB2CA0 #CF45C3 #DC76D3

Accessibility & contrast

On white

5.83
#AB2CA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#AB2CA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2CA0
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2CA0#FFFFFF#000000##FFFFFF
##AB2CA01.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235AA3
Deuteranopia (green-blind)
#556B9D
Tritanopia (blue-blind)
#B23B64
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ab2ca0;
/* rgb */ color: rgb(171, 44, 160);
/* oklch */ color: oklch(53.4% 0.204 331.9);
Tailwind
colors: {
  custom: {
    50: '#c873bc',
    500: '#ab2ca0',
    950: '#000000',
  },
}
SCSS
$custom: #ab2ca0;
$custom-light: #c873bc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2ca0",
  "rgb": {
    "r": 171,
    "g": 44,
    "b": 160
  },
  "hsl": {
    "h": 305.197,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.5336,
    "c": 0.20447,
    "h": 331.9
  },
  "luminance": 0.12997
}

Semantic roles & 50–950 ramp

primary
#AB2CA0
secondary
#6FC377
accent
#E25346
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AB2CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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