#AB2D5C#AB2D5C

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

Color values

HEX#AB2D5C
RGBrgb(171, 45, 92)
HSLhsl(338, 58%, 42%)
HSVhsv(338, 74%, 67%)
CMYKcmyk(0%, 73.7%, 46.2%, 32.9%)
CIE-LABlab(40.10, 53.93, 2.81)
CIE-LCHlch(40.10, 54.00, 2.99°)
OKLaboklab(50.52% 0.1652 0.0078)
OKLCHoklch(50.52% 0.165 2.7)
XYZxyz(19.6663, 11.3100, 11.2706)
Luminance0.1131 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2D5C #2DAB7C
analogous
#AB2D9B #AB2D5C #AB3D2D
triadic
#AB2D5C #5CAB2D #2D5CAB
tetradic
#AB2D5C #9BAB2D #2DAB7C #3D2DAB
square
#AB2D5C #9BAB2D #2DAB7C #3D2DAB
split-complementary
#AB2D5C #2DAB3D #2D9BAB
monochromatic
#4A1428 #7B2042 #AB2D5C #CE4779 #DB779C

Accessibility & contrast

On white

6.44
#AB2D5C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB2D5C
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2D5C#FFFFFF#000000##FFFFFF
##AB2D5C1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4F5D
Deuteranopia (green-blind)
#6B6759
Tritanopia (blue-blind)
#BA1641
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab2d5c;
/* rgb */ color: rgb(171, 45, 92);
/* oklch */ color: oklch(50.5% 0.165 2.7);
Tailwind
colors: {
  custom: {
    50: '#c9718a',
    500: '#ab2d5c',
    950: '#000000',
  },
}
SCSS
$custom: #ab2d5c;
$custom-light: #c9718a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2d5c",
  "rgb": {
    "r": 171,
    "g": 45,
    "b": 92
  },
  "hsl": {
    "h": 337.619,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50515,
    "c": 0.16537,
    "h": 2.7
  },
  "luminance": 0.11307
}

Semantic roles & 50–950 ramp

primary
#AB2D5C
secondary
#71C3A4
accent
#E2A846
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080B
muted
#837B7C

Preview Lab

Preview with #AB2D5C

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

Preview Lab → · Contrast checker → · Palette generator →

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