#AB2D5B#AB2D5B

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

Color values

HEX#AB2D5B
RGBrgb(171, 45, 91)
HSLhsl(338, 58%, 42%)
HSVhsv(338, 74%, 67%)
CMYKcmyk(0%, 73.7%, 46.8%, 32.9%)
CIE-LABlab(40.07, 53.84, 3.40)
CIE-LCHlch(40.07, 53.95, 3.62°)
OKLaboklab(50.48% 0.1648 0.0093)
OKLCHoklch(50.48% 0.165 3.2)
XYZxyz(19.6229, 11.2926, 11.0419)
Luminance0.1129 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2D5B #2DAB7D
analogous
#AB2D9A #AB2D5B #AB3E2D
triadic
#AB2D5B #5BAB2D #2D5BAB
tetradic
#AB2D5B #9AAB2D #2DAB7D #3E2DAB
square
#AB2D5B #9AAB2D #2DAB7D #3E2DAB
split-complementary
#AB2D5B #2DAB3E #2D9AAB
monochromatic
#4A1427 #7B2041 #AB2D5B #CE4778 #DB779C

Accessibility & contrast

On white

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

On black

3.26
#AB2D5B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AB2D5B#FFFFFF#000000##FFFFFF
##AB2D5B1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4F5C
Deuteranopia (green-blind)
#6B6758
Tritanopia (blue-blind)
#BA1640
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab2d5b;
/* rgb */ color: rgb(171, 45, 91);
/* oklch */ color: oklch(50.5% 0.165 3.2);
Tailwind
colors: {
  custom: {
    50: '#c97189',
    500: '#ab2d5b',
    950: '#000000',
  },
}
SCSS
$custom: #ab2d5b;
$custom-light: #c97189;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2d5b",
  "rgb": {
    "r": 171,
    "g": 45,
    "b": 91
  },
  "hsl": {
    "h": 338.095,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50484,
    "c": 0.16509,
    "h": 3.2
  },
  "luminance": 0.1129
}

Semantic roles & 50–950 ramp

primary
#AB2D5B
secondary
#71C3A5
accent
#E2A946
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080B
muted
#837B7C

Preview Lab

Preview with #AB2D5B

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

Preview Lab → · Contrast checker → · Palette generator →

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