#AB2C5C#AB2C5C

#AB2C5C is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.4% C 0.166 H 2.5°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#AB2C5C
RGBrgb(171, 44, 92)
HSLhsl(337, 59%, 42%)
HSVhsv(337, 74%, 67%)
CMYKcmyk(0%, 74.3%, 46.2%, 32.9%)
CIE-LABlab(39.97, 54.28, 2.63)
CIE-LCHlch(39.97, 54.34, 2.78°)
OKLaboklab(50.42% 0.1663 0.0074)
OKLCHoklch(50.42% 0.166 2.5)
XYZxyz(19.6286, 11.2346, 11.2580)
Luminance0.1123 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2C5C #2CAB7B
analogous
#AB2C9C #AB2C5C #AB3C2C
triadic
#AB2C5C #5CAB2C #2C5CAB
tetradic
#AB2C5C #9CAB2C #2CAB7B #3C2CAB
square
#AB2C5C #9CAB2C #2CAB7B #3C2CAB
split-complementary
#AB2C5C #2CAB3C #2C9CAB
monochromatic
#4A1328 #7A1F42 #AB2C5C #CF4579 #DC769C

Accessibility & contrast

On white

6.47
#AB2C5C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB2C5C
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2C5C#FFFFFF#000000##FFFFFF
##AB2C5C1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494E5D
Deuteranopia (green-blind)
#6B6759
Tritanopia (blue-blind)
#BA1540
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab2c5c;
/* rgb */ color: rgb(171, 44, 92);
/* oklch */ color: oklch(50.4% 0.166 2.5);
Tailwind
colors: {
  custom: {
    50: '#c9708a',
    500: '#ab2c5c',
    950: '#000000',
  },
}
SCSS
$custom: #ab2c5c;
$custom-light: #c9708a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2c5c",
  "rgb": {
    "r": 171,
    "g": 44,
    "b": 92
  },
  "hsl": {
    "h": 337.323,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50423,
    "c": 0.16647,
    "h": 2.5
  },
  "luminance": 0.11232
}

Semantic roles & 50–950 ramp

primary
#AB2C5C
secondary
#6FC3A4
accent
#E2A746
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080B
muted
#837B7C

Preview Lab

Preview with #AB2C5C

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

Preview Lab → · Contrast checker → · Palette generator →

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