#AB2D5A#AB2D5A

#AB2D5A is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.5% C 0.165 H 3.8°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#AB2D5A
RGBrgb(171, 45, 90)
HSLhsl(339, 58%, 42%)
HSVhsv(339, 74%, 67%)
CMYKcmyk(0%, 73.7%, 47.4%, 32.9%)
CIE-LABlab(40.04, 53.74, 4.00)
CIE-LCHlch(40.04, 53.89, 4.25°)
OKLaboklab(50.45% 0.1645 0.0108)
OKLCHoklch(50.45% 0.165 3.8)
XYZxyz(19.5800, 11.2755, 10.8162)
Luminance0.1127 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2D5A #2DAB7E
analogous
#AB2D99 #AB2D5A #AB3F2D
triadic
#AB2D5A #5AAB2D #2D5AAB
tetradic
#AB2D5A #99AB2D #2DAB7E #3F2DAB
square
#AB2D5A #99AB2D #2DAB7E #3F2DAB
split-complementary
#AB2D5A #2DAB3F #2D99AB
monochromatic
#4A1427 #7B2041 #AB2D5A #CE4777 #DB779B

Accessibility & contrast

On white

6.45
#AB2D5A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#AB2D5A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2D5A
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2D5A#FFFFFF#000000##FFFFFF
##AB2D5A1.006.453.256.45
#FFFFFF6.451.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4F5B
Deuteranopia (green-blind)
#6C6757
Tritanopia (blue-blind)
#BA1540
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab2d5a;
/* rgb */ color: rgb(171, 45, 90);
/* oklch */ color: oklch(50.5% 0.165 3.8);
Tailwind
colors: {
  custom: {
    50: '#c97188',
    500: '#ab2d5a',
    950: '#000000',
  },
}
SCSS
$custom: #ab2d5a;
$custom-light: #c97188;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2d5a",
  "rgb": {
    "r": 171,
    "g": 45,
    "b": 90
  },
  "hsl": {
    "h": 338.571,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50454,
    "c": 0.16482,
    "h": 3.8
  },
  "luminance": 0.11273
}

Semantic roles & 50–950 ramp

primary
#AB2D5A
secondary
#71C3A6
accent
#E2AA46
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080B
muted
#837B7C

Preview Lab

Preview with #AB2D5A

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

Preview Lab → · Contrast checker → · Palette generator →

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