#AB2D8D#AB2D8D

#AB2D8D is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.5% C 0.190 H 339.3°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#AB2D8D
RGBrgb(171, 45, 141)
HSLhsl(314, 58%, 42%)
HSVhsv(314, 74%, 67%)
CMYKcmyk(0%, 73.7%, 17.5%, 32.9%)
CIE-LABlab(41.94, 59.76, -24.84)
CIE-LCHlch(41.94, 64.72, 337.43°)
OKLaboklab(52.46% 0.1777 -0.0672)
OKLCHoklch(52.46% 0.19 339.3)
XYZxyz(22.5413, 12.4600, 26.4120)
Luminance0.1246 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2D8D #2DAB4B
analogous
#8A2DAB #AB2D8D #AB2D4E
triadic
#AB2D8D #8DAB2D #2D8DAB
tetradic
#AB2D8D #AB8A2D #2DAB4B #2D4EAB
square
#AB2D8D #AB8A2D #2DAB4B #2D4EAB
split-complementary
#AB2D8D #4EAB2D #2DAB8A
monochromatic
#4A143D #7B2065 #AB2D8D #CE47AE #DB77C3

Accessibility & contrast

On white

6.01
#AB2D8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#AB2D8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2D8D
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2D8D#FFFFFF#000000##FFFFFF
##AB2D8D1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355690
Deuteranopia (green-blind)
#5E6A8A
Tritanopia (blue-blind)
#B53259
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ab2d8d;
/* rgb */ color: rgb(171, 45, 141);
/* oklch */ color: oklch(52.5% 0.190 339.3);
Tailwind
colors: {
  custom: {
    50: '#c872ae',
    500: '#ab2d8d',
    950: '#000000',
  },
}
SCSS
$custom: #ab2d8d;
$custom-light: #c872ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2d8d",
  "rgb": {
    "r": 171,
    "g": 45,
    "b": 141
  },
  "hsl": {
    "h": 314.286,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52461,
    "c": 0.18996,
    "h": 339.3
  },
  "luminance": 0.12458
}

Semantic roles & 50–950 ramp

primary
#AB2D8D
secondary
#71C384
accent
#E26B46
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AB2D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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