#AB2C8D#AB2C8D

#AB2C8D is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.4% C 0.191 H 339.3°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#AB2C8D
RGBrgb(171, 44, 141)
HSLhsl(314, 59%, 42%)
HSVhsv(314, 74%, 67%)
CMYKcmyk(0%, 74.3%, 17.5%, 32.9%)
CIE-LABlab(41.82, 60.09, -25.02)
CIE-LCHlch(41.82, 65.09, 337.39°)
OKLaboklab(52.38% 0.1787 -0.0677)
OKLCHoklch(52.38% 0.191 339.3)
XYZxyz(22.5036, 12.3846, 26.3994)
Luminance0.1238 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2C8D #2CAB4A
analogous
#8A2CAB #AB2C8D #AB2C4E
triadic
#AB2C8D #8DAB2C #2C8DAB
tetradic
#AB2C8D #AB8A2C #2CAB4A #2C4EAB
square
#AB2C8D #AB8A2C #2CAB4A #2C4EAB
split-complementary
#AB2C8D #4EAB2C #2CAB8A
monochromatic
#4A133D #7A1F65 #AB2C8D #CF45AF #DC76C4

Accessibility & contrast

On white

6.04
#AB2C8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#AB2C8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2C8D
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2C8D#FFFFFF#000000##FFFFFF
##AB2C8D1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345690
Deuteranopia (green-blind)
#5D6A8A
Tritanopia (blue-blind)
#B53159
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ab2c8d;
/* rgb */ color: rgb(171, 44, 141);
/* oklch */ color: oklch(52.4% 0.191 339.3);
Tailwind
colors: {
  custom: {
    50: '#c872ae',
    500: '#ab2c8d',
    950: '#000000',
  },
}
SCSS
$custom: #ab2c8d;
$custom-light: #c872ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2c8d",
  "rgb": {
    "r": 171,
    "g": 44,
    "b": 141
  },
  "hsl": {
    "h": 314.173,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52376,
    "c": 0.19107,
    "h": 339.3
  },
  "luminance": 0.12382
}

Semantic roles & 50–950 ramp

primary
#AB2C8D
secondary
#6FC383
accent
#E26B46
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AB2C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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