#AB2D4D#AB2D4D

#AB2D4D is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.1% C 0.162 H 10.5°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#AB2D4D
RGBrgb(171, 45, 77)
HSLhsl(345, 58%, 42%)
HSVhsv(345, 74%, 67%)
CMYKcmyk(0%, 73.7%, 55%, 32.9%)
CIE-LABlab(39.70, 52.63, 11.74)
CIE-LCHlch(39.70, 53.93, 12.58°)
OKLaboklab(50.1% 0.1595 0.0297)
OKLCHoklch(50.1% 0.162 10.5)
XYZxyz(19.0743, 11.0732, 8.1527)
Luminance0.1107 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2D4D #2DAB8B
analogous
#AB2D8C #AB2D4D #AB4C2D
triadic
#AB2D4D #4DAB2D #2D4DAB
tetradic
#AB2D4D #8CAB2D #2DAB8B #4C2DAB
square
#AB2D4D #8CAB2D #2DAB8B #4C2DAB
split-complementary
#AB2D4D #2DAB4C #2D8CAB
monochromatic
#4A1421 #7B2037 #AB2D4D #CE4769 #DB7791

Accessibility & contrast

On white

6.53
#AB2D4D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#AB2D4D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2D4D
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2D4D#FFFFFF#000000##FFFFFF
##AB2D4D1.006.533.216.53
#FFFFFF6.531.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4D4E
Deuteranopia (green-blind)
#6E674A
Tritanopia (blue-blind)
#BB0B3A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab2d4d;
/* rgb */ color: rgb(171, 45, 77);
/* oklch */ color: oklch(50.1% 0.162 10.5);
Tailwind
colors: {
  custom: {
    50: '#ca707e',
    500: '#ab2d4d',
    950: '#000000',
  },
}
SCSS
$custom: #ab2d4d;
$custom-light: #ca707e;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2d4d",
  "rgb": {
    "r": 171,
    "g": 45,
    "b": 77
  },
  "hsl": {
    "h": 344.762,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.50095,
    "c": 0.16227,
    "h": 10.5
  },
  "luminance": 0.11071
}

Semantic roles & 50–950 ramp

primary
#AB2D4D
secondary
#71C3AE
accent
#E2BA46
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#140809
muted
#837B7B

Preview Lab

Preview with #AB2D4D

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

Preview Lab → · Contrast checker → · Palette generator →

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