#AB2C4D#AB2C4D

#AB2C4D is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.0% C 0.163 H 10.3°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#AB2C4D
RGBrgb(171, 44, 77)
HSLhsl(344, 59%, 42%)
HSVhsv(344, 74%, 67%)
CMYKcmyk(0%, 74.3%, 55%, 32.9%)
CIE-LABlab(39.58, 52.99, 11.57)
CIE-LCHlch(39.58, 54.23, 12.32°)
OKLaboklab(50% 0.1607 0.0293)
OKLCHoklch(50% 0.163 10.3)
XYZxyz(19.0366, 10.9978, 8.1401)
Luminance0.1100 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2C4D #2CAB8A
analogous
#AB2C8D #AB2C4D #AB4A2C
triadic
#AB2C4D #4DAB2C #2C4DAB
tetradic
#AB2C4D #8DAB2C #2CAB8A #4A2CAB
square
#AB2C4D #8DAB2C #2CAB8A #4A2CAB
split-complementary
#AB2C4D #2CAB4A #2C8DAB
monochromatic
#4A1321 #7A1F37 #AB2C4D #CF4569 #DC7690

Accessibility & contrast

On white

6.56
#AB2C4D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#AB2C4D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2C4D
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2C4D#FFFFFF#000000##FFFFFF
##AB2C4D1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4D4E
Deuteranopia (green-blind)
#6D674A
Tritanopia (blue-blind)
#BB083A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab2c4d;
/* rgb */ color: rgb(171, 44, 77);
/* oklch */ color: oklch(50.0% 0.163 10.3);
Tailwind
colors: {
  custom: {
    50: '#ca707e',
    500: '#ab2c4d',
    950: '#000000',
  },
}
SCSS
$custom: #ab2c4d;
$custom-light: #ca707e;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2c4d",
  "rgb": {
    "r": 171,
    "g": 44,
    "b": 77
  },
  "hsl": {
    "h": 344.409,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50001,
    "c": 0.16332,
    "h": 10.3
  },
  "luminance": 0.10995
}

Semantic roles & 50–950 ramp

primary
#AB2C4D
secondary
#6FC3AE
accent
#E2BA46
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#140809
muted
#837B7B

Preview Lab

Preview with #AB2C4D

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

Preview Lab → · Contrast checker → · Palette generator →

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