#AB2C5F#AB2C5F

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

Color values

HEX#AB2C5F
RGBrgb(171, 44, 95)
HSLhsl(336, 59%, 42%)
HSVhsv(336, 74%, 67%)
CMYKcmyk(0%, 74.3%, 44.4%, 32.9%)
CIE-LABlab(40.06, 54.57, 0.87)
CIE-LCHlch(40.06, 54.57, 0.91°)
OKLaboklab(50.52% 0.1674 0.0029)
OKLCHoklch(50.52% 0.167 1)
XYZxyz(19.7623, 11.2881, 11.9624)
Luminance0.1129 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2C5F #2CAB78
analogous
#AB2C9E #AB2C5F #AB392C
triadic
#AB2C5F #5FAB2C #2C5FAB
tetradic
#AB2C5F #9EAB2C #2CAB78 #392CAB
square
#AB2C5F #9EAB2C #2CAB78 #392CAB
split-complementary
#AB2C5F #2CAB39 #2C9EAB
monochromatic
#4A1329 #7A1F44 #AB2C5F #CF457D #DC769F

Accessibility & contrast

On white

6.45
#AB2C5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#AB2C5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2C5F
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2C5F#FFFFFF#000000##FFFFFF
##AB2C5F1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484F60
Deuteranopia (green-blind)
#6A675C
Tritanopia (blue-blind)
#BA1742
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab2c5f;
/* rgb */ color: rgb(171, 44, 95);
/* oklch */ color: oklch(50.5% 0.167 1.0);
Tailwind
colors: {
  custom: {
    50: '#c9708c',
    500: '#ab2c5f',
    950: '#000000',
  },
}
SCSS
$custom: #ab2c5f;
$custom-light: #c9708c;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2c5f",
  "rgb": {
    "r": 171,
    "g": 44,
    "b": 95
  },
  "hsl": {
    "h": 335.906,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50517,
    "c": 0.16739,
    "h": 1
  },
  "luminance": 0.11286
}

Semantic roles & 50–950 ramp

primary
#AB2C5F
secondary
#6FC3A2
accent
#E2A346
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AB2C5F

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

Preview Lab → · Contrast checker → · Palette generator →

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