#AB2C8C#AB2C8C

#AB2C8C is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.3% C 0.190 H 339.7°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#AB2C8C
RGBrgb(171, 44, 140)
HSLhsl(315, 59%, 42%)
HSVhsv(315, 74%, 67%)
CMYKcmyk(0%, 74.3%, 18.1%, 32.9%)
CIE-LABlab(41.77, 59.95, -24.48)
CIE-LCHlch(41.77, 64.76, 337.79°)
OKLaboklab(52.33% 0.1785 -0.0662)
OKLCHoklch(52.33% 0.19 339.7)
XYZxyz(22.4295, 12.3549, 26.0093)
Luminance0.1235 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2C8C #2CAB4B
analogous
#8B2CAB #AB2C8C #AB2C4C
triadic
#AB2C8C #8CAB2C #2C8CAB
tetradic
#AB2C8C #AB8B2C #2CAB4B #2C4CAB
square
#AB2C8C #AB8B2C #2CAB4B #2C4CAB
split-complementary
#AB2C8C #4CAB2C #2CAB8B
monochromatic
#4A133C #7A1F64 #AB2C8C #CF45AD #DC76C3

Accessibility & contrast

On white

6.05
#AB2C8C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#AB2C8C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2C8C
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2C8C#FFFFFF#000000##FFFFFF
##AB2C8C1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34568F
Deuteranopia (green-blind)
#5E6A89
Tritanopia (blue-blind)
#B53159
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ab2c8c;
/* rgb */ color: rgb(171, 44, 140);
/* oklch */ color: oklch(52.3% 0.190 339.7);
Tailwind
colors: {
  custom: {
    50: '#c872ae',
    500: '#ab2c8c',
    950: '#000000',
  },
}
SCSS
$custom: #ab2c8c;
$custom-light: #c872ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2c8c",
  "rgb": {
    "r": 171,
    "g": 44,
    "b": 140
  },
  "hsl": {
    "h": 314.646,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52328,
    "c": 0.19041,
    "h": 339.7
  },
  "luminance": 0.12353
}

Semantic roles & 50–950 ramp

primary
#AB2C8C
secondary
#6FC384
accent
#E26C46
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AB2C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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