#AB2C86#AB2C86

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

Color values

HEX#AB2C86
RGBrgb(171, 44, 134)
HSLhsl(317, 59%, 42%)
HSVhsv(317, 74%, 67%)
CMYKcmyk(0%, 74.3%, 21.6%, 32.9%)
CIE-LABlab(41.51, 59.12, -21.23)
CIE-LCHlch(41.51, 62.82, 340.25°)
OKLaboklab(52.04% 0.1776 -0.057)
OKLCHoklch(52.04% 0.187 342.2)
XYZxyz(21.9991, 12.1828, 23.7426)
Luminance0.1218 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2C86 #2CAB51
analogous
#902CAB #AB2C86 #AB2C47
triadic
#AB2C86 #86AB2C #2C86AB
tetradic
#AB2C86 #AB902C #2CAB51 #2C47AB
square
#AB2C86 #AB902C #2CAB51 #2C47AB
split-complementary
#AB2C86 #47AB2C #2CAB90
monochromatic
#4A133A #7A1F60 #AB2C86 #CF45A7 #DC76BE

Accessibility & contrast

On white

6.11
#AB2C86 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#AB2C86 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2C86
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2C86#FFFFFF#000000##FFFFFF
##AB2C861.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab2c86;
/* rgb */ color: rgb(171, 44, 134);
/* oklch */ color: oklch(52.0% 0.187 342.2);
Tailwind
colors: {
  custom: {
    50: '#c872a9',
    500: '#ab2c86',
    950: '#000000',
  },
}
SCSS
$custom: #ab2c86;
$custom-light: #c872a9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2c86",
  "rgb": {
    "r": 171,
    "g": 44,
    "b": 134
  },
  "hsl": {
    "h": 317.48,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52045,
    "c": 0.18653,
    "h": 342.2
  },
  "luminance": 0.12181
}

Semantic roles & 50–950 ramp

primary
#AB2C86
secondary
#6FC388
accent
#E27346
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AB2C86

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

Preview Lab → · Contrast checker → · Palette generator →

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