#AB2C56#AB2C56

#AB2C56 is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.2% C 0.165 H 5.7°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#AB2C56
RGBrgb(171, 44, 86)
HSLhsl(340, 59%, 42%)
HSVhsv(340, 74%, 67%)
CMYKcmyk(0%, 74.3%, 49.7%, 32.9%)
CIE-LABlab(39.80, 53.73, 6.19)
CIE-LCHlch(39.80, 54.09, 6.57°)
OKLaboklab(50.24% 0.1641 0.0163)
OKLCHoklch(50.24% 0.165 5.7)
XYZxyz(19.3766, 11.1338, 9.9310)
Luminance0.1113 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2C56 #2CAB81
analogous
#AB2C96 #AB2C56 #AB412C
triadic
#AB2C56 #56AB2C #2C56AB
tetradic
#AB2C56 #96AB2C #2CAB81 #412CAB
square
#AB2C56 #96AB2C #2CAB81 #412CAB
split-complementary
#AB2C56 #2CAB41 #2C96AB
monochromatic
#4A1325 #7A1F3E #AB2C56 #CF4573 #DC7697

Accessibility & contrast

On white

6.51
#AB2C56 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#AB2C56 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2C56
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2C56#FFFFFF#000000##FFFFFF
##AB2C561.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4E57
Deuteranopia (green-blind)
#6C6753
Tritanopia (blue-blind)
#BA103E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab2c56;
/* rgb */ color: rgb(171, 44, 86);
/* oklch */ color: oklch(50.2% 0.165 5.7);
Tailwind
colors: {
  custom: {
    50: '#ca7085',
    500: '#ab2c56',
    950: '#000000',
  },
}
SCSS
$custom: #ab2c56;
$custom-light: #ca7085;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2c56",
  "rgb": {
    "r": 171,
    "g": 44,
    "b": 86
  },
  "hsl": {
    "h": 340.157,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50244,
    "c": 0.16492,
    "h": 5.7
  },
  "luminance": 0.11131
}

Semantic roles & 50–950 ramp

primary
#AB2C56
secondary
#6FC3A8
accent
#E2AE46
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080B
muted
#837B7C

Preview Lab

Preview with #AB2C56

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

Preview Lab → · Contrast checker → · Palette generator →

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