#AB2D4E#AB2D4E

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

Color values

HEX#AB2D4E
RGBrgb(171, 45, 78)
HSLhsl(344, 58%, 42%)
HSVhsv(344, 74%, 67%)
CMYKcmyk(0%, 73.7%, 54.4%, 32.9%)
CIE-LABlab(39.73, 52.71, 11.14)
CIE-LCHlch(39.73, 53.88, 11.94°)
OKLaboklab(50.12% 0.1599 0.0283)
OKLCHoklch(50.12% 0.162 10)
XYZxyz(19.1099, 11.0874, 8.3401)
Luminance0.1109 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2D4E #2DAB8A
analogous
#AB2D8D #AB2D4E #AB4B2D
triadic
#AB2D4E #4EAB2D #2D4EAB
tetradic
#AB2D4E #8DAB2D #2DAB8A #4B2DAB
square
#AB2D4E #8DAB2D #2DAB8A #4B2DAB
split-complementary
#AB2D4E #2DAB4B #2D8DAB
monochromatic
#4A1422 #7B2038 #AB2D4E #CE476A #DB7791

Accessibility & contrast

On white

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

On black

3.22
#AB2D4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AB2D4E#FFFFFF#000000##FFFFFF
##AB2D4E1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4D4F
Deuteranopia (green-blind)
#6E674B
Tritanopia (blue-blind)
#BB0C3B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab2d4e;
/* rgb */ color: rgb(171, 45, 78);
/* oklch */ color: oklch(50.1% 0.162 10.0);
Tailwind
colors: {
  custom: {
    50: '#ca707f',
    500: '#ab2d4e',
    950: '#000000',
  },
}
SCSS
$custom: #ab2d4e;
$custom-light: #ca707f;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2d4e",
  "rgb": {
    "r": 171,
    "g": 45,
    "b": 78
  },
  "hsl": {
    "h": 344.286,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.5012,
    "c": 0.1624,
    "h": 10
  },
  "luminance": 0.11085
}

Semantic roles & 50–950 ramp

primary
#AB2D4E
secondary
#71C3AE
accent
#E2B946
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#14080A
muted
#837B7C

Preview Lab

Preview with #AB2D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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