#AB2D6C#AB2D6C

#AB2D6C is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.1% C 0.171 H 354.5°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#AB2D6C
RGBrgb(171, 45, 108)
HSLhsl(330, 58%, 42%)
HSVhsv(330, 74%, 67%)
CMYKcmyk(0%, 73.7%, 36.8%, 32.9%)
CIE-LABlab(40.61, 55.58, -6.50)
CIE-LCHlch(40.61, 55.95, 353.33°)
OKLaboklab(51.05% 0.1705 -0.0165)
OKLCHoklch(51.05% 0.171 354.5)
XYZxyz(20.4410, 11.6199, 15.3509)
Luminance0.1162 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2D6C #2DAB6C
analogous
#AB2DAB #AB2D6C #AB2D2D
triadic
#AB2D6C #6CAB2D #2D6CAB
tetradic
#AB2D6C #ABAB2D #2DAB6C #2D2DAB
square
#AB2D6C #ABAB2D #2DAB6C #2D2DAB
split-complementary
#AB2D6C #2DAB2D #2DABAB
monochromatic
#4A142F #7B204D #AB2D6C #CE478B #DB77A9

Accessibility & contrast

On white

6.32
#AB2D6C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB2D6C
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2D6C#FFFFFF#000000##FFFFFF
##AB2D6C1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45516E
Deuteranopia (green-blind)
#686869
Tritanopia (blue-blind)
#B92048
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab2d6c;
/* rgb */ color: rgb(171, 45, 108);
/* oklch */ color: oklch(51.1% 0.171 354.5);
Tailwind
colors: {
  custom: {
    50: '#c97196',
    500: '#ab2d6c',
    950: '#000000',
  },
}
SCSS
$custom: #ab2d6c;
$custom-light: #c97196;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2d6c",
  "rgb": {
    "r": 171,
    "g": 45,
    "b": 108
  },
  "hsl": {
    "h": 330,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.51054,
    "c": 0.17124,
    "h": 354.5
  },
  "luminance": 0.11617
}

Semantic roles & 50–950 ramp

primary
#AB2D6C
secondary
#71C39A
accent
#E29446
background
#FCF7F9
surface
#F9EDF1
border
#D2C8CB
text
#14080D
muted
#827B7E

Preview Lab

Preview with #AB2D6C

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

Preview Lab → · Contrast checker → · Palette generator →

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