#AB2D6A#AB2D6A

#AB2D6A is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.0% C 0.170 H 355.5°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#AB2D6A
RGBrgb(171, 45, 106)
HSLhsl(331, 58%, 42%)
HSVhsv(331, 74%, 67%)
CMYKcmyk(0%, 73.7%, 38%, 32.9%)
CIE-LABlab(40.54, 55.36, -5.35)
CIE-LCHlch(40.54, 55.61, 354.48°)
OKLaboklab(50.98% 0.1699 -0.0134)
OKLCHoklch(50.98% 0.17 355.5)
XYZxyz(20.3358, 11.5778, 14.7967)
Luminance0.1158 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2D6A #2DAB6E
analogous
#AB2DA9 #AB2D6A #AB2F2D
triadic
#AB2D6A #6AAB2D #2D6AAB
tetradic
#AB2D6A #A9AB2D #2DAB6E #2F2DAB
square
#AB2D6A #A9AB2D #2DAB6E #2F2DAB
split-complementary
#AB2D6A #2DAB2F #2DA9AB
monochromatic
#4A142E #7B204C #AB2D6A #CE4788 #DB77A8

Accessibility & contrast

On white

6.33
#AB2D6A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#AB2D6A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2D6A
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2D6A#FFFFFF#000000##FFFFFF
##AB2D6A1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45516C
Deuteranopia (green-blind)
#686867
Tritanopia (blue-blind)
#B91F47
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab2d6a;
/* rgb */ color: rgb(171, 45, 106);
/* oklch */ color: oklch(51.0% 0.170 355.5);
Tailwind
colors: {
  custom: {
    50: '#c97194',
    500: '#ab2d6a',
    950: '#000000',
  },
}
SCSS
$custom: #ab2d6a;
$custom-light: #c97194;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2d6a",
  "rgb": {
    "r": 171,
    "g": 45,
    "b": 106
  },
  "hsl": {
    "h": 330.952,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50982,
    "c": 0.17038,
    "h": 355.5
  },
  "luminance": 0.11575
}

Semantic roles & 50–950 ramp

primary
#AB2D6A
secondary
#71C39B
accent
#E29646
background
#FCF7F9
surface
#F9EDF1
border
#D2C8CB
text
#14080D
muted
#827B7E

Preview Lab

Preview with #AB2D6A

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

Preview Lab → · Contrast checker → · Palette generator →

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