#AB2C85#AB2C85

#AB2C85 is a mid, vivid pink. Relative luminance 0.122; OKLCH L 52.0% C 0.186 H 342.6°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#AB2C85
RGBrgb(171, 44, 133)
HSLhsl(318, 59%, 42%)
HSVhsv(318, 74%, 67%)
CMYKcmyk(0%, 74.3%, 22.2%, 32.9%)
CIE-LABlab(41.46, 58.99, -20.69)
CIE-LCHlch(41.46, 62.51, 340.67°)
OKLaboklab(52% 0.1774 -0.0554)
OKLCHoklch(52% 0.186 342.6)
XYZxyz(21.9297, 12.1550, 23.3770)
Luminance0.1215 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2C85 #2CAB52
analogous
#922CAB #AB2C85 #AB2C45
triadic
#AB2C85 #85AB2C #2C85AB
tetradic
#AB2C85 #AB922C #2CAB52 #2C45AB
square
#AB2C85 #AB922C #2CAB52 #2C45AB
split-complementary
#AB2C85 #45AB2C #2CAB92
monochromatic
#4A1339 #7A1F5F #AB2C85 #CF45A6 #DC76BD

Accessibility & contrast

On white

6.12
#AB2C85 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#AB2C85 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2C85
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2C85#FFFFFF#000000##FFFFFF
##AB2C851.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395487
Deuteranopia (green-blind)
#606982
Tritanopia (blue-blind)
#B62D55
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ab2c85;
/* rgb */ color: rgb(171, 44, 133);
/* oklch */ color: oklch(52.0% 0.186 342.6);
Tailwind
colors: {
  custom: {
    50: '#c872a8',
    500: '#ab2c85',
    950: '#000000',
  },
}
SCSS
$custom: #ab2c85;
$custom-light: #c872a8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2c85",
  "rgb": {
    "r": 171,
    "g": 44,
    "b": 133
  },
  "hsl": {
    "h": 317.953,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51998,
    "c": 0.1859,
    "h": 342.6
  },
  "luminance": 0.12153
}

Semantic roles & 50–950 ramp

primary
#AB2C85
secondary
#6FC389
accent
#E27446
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AB2C85

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

Preview Lab → · Contrast checker → · Palette generator →

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