#AB2C5D#AB2C5D

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

Color values

HEX#AB2C5D
RGBrgb(171, 44, 93)
HSLhsl(337, 59%, 42%)
HSVhsv(337, 74%, 67%)
CMYKcmyk(0%, 74.3%, 45.6%, 32.9%)
CIE-LABlab(40.00, 54.38, 2.04)
CIE-LCHlch(40.00, 54.41, 2.15°)
OKLaboklab(50.45% 0.1667 0.0059)
OKLCHoklch(50.45% 0.167 2)
XYZxyz(19.6726, 11.2522, 11.4898)
Luminance0.1125 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2C5D #2CAB7A
analogous
#AB2C9D #AB2C5D #AB3A2C
triadic
#AB2C5D #5DAB2C #2C5DAB
tetradic
#AB2C5D #9DAB2C #2CAB7A #3A2CAB
square
#AB2C5D #9DAB2C #2CAB7A #3A2CAB
split-complementary
#AB2C5D #2CAB3A #2C9DAB
monochromatic
#4A1328 #7A1F43 #AB2C5D #CF457A #DC769D

Accessibility & contrast

On white

6.46
#AB2C5D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#AB2C5D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2C5D
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2C5D#FFFFFF#000000##FFFFFF
##AB2C5D1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab2c5d;
/* rgb */ color: rgb(171, 44, 93);
/* oklch */ color: oklch(50.5% 0.167 2.0);
Tailwind
colors: {
  custom: {
    50: '#c9708a',
    500: '#ab2c5d',
    950: '#000000',
  },
}
SCSS
$custom: #ab2c5d;
$custom-light: #c9708a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2c5d",
  "rgb": {
    "r": 171,
    "g": 44,
    "b": 93
  },
  "hsl": {
    "h": 336.85,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50454,
    "c": 0.16677,
    "h": 2
  },
  "luminance": 0.1125
}

Semantic roles & 50–950 ramp

primary
#AB2C5D
secondary
#6FC3A3
accent
#E2A646
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080B
muted
#837B7C

Preview Lab

Preview with #AB2C5D

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

Preview Lab → · Contrast checker → · Palette generator →

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