#AB2D5D#AB2D5D

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

Color values

HEX#AB2D5D
RGBrgb(171, 45, 93)
HSLhsl(337, 58%, 42%)
HSVhsv(337, 74%, 67%)
CMYKcmyk(0%, 73.7%, 45.6%, 32.9%)
CIE-LABlab(40.13, 54.03, 2.23)
CIE-LCHlch(40.13, 54.07, 2.36°)
OKLaboklab(50.55% 0.1656 0.0063)
OKLCHoklch(50.55% 0.166 2.2)
XYZxyz(19.7103, 11.3276, 11.5023)
Luminance0.1133 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2D5D #2DAB7B
analogous
#AB2D9C #AB2D5D #AB3C2D
triadic
#AB2D5D #5DAB2D #2D5DAB
tetradic
#AB2D5D #9CAB2D #2DAB7B #3C2DAB
square
#AB2D5D #9CAB2D #2DAB7B #3C2DAB
split-complementary
#AB2D5D #2DAB3C #2D9CAB
monochromatic
#4A1428 #7B2043 #AB2D5D #CE477A #DB779D

Accessibility & contrast

On white

6.43
#AB2D5D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#AB2D5D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2D5D
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2D5D#FFFFFF#000000##FFFFFF
##AB2D5D1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494F5E
Deuteranopia (green-blind)
#6B675A
Tritanopia (blue-blind)
#BA1741
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #ab2d5d;
/* rgb */ color: rgb(171, 45, 93);
/* oklch */ color: oklch(50.5% 0.166 2.2);
Tailwind
colors: {
  custom: {
    50: '#c9718a',
    500: '#ab2d5d',
    950: '#000000',
  },
}
SCSS
$custom: #ab2d5d;
$custom-light: #c9718a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2d5d",
  "rgb": {
    "r": 171,
    "g": 45,
    "b": 93
  },
  "hsl": {
    "h": 337.143,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50546,
    "c": 0.16567,
    "h": 2.2
  },
  "luminance": 0.11325
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB2D5D

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

Preview Lab → · Contrast checker → · Palette generator →

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