#AB2C58#AB2C58

#AB2C58 is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.3% C 0.165 H 4.6°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#AB2C58
RGBrgb(171, 44, 88)
HSLhsl(339, 59%, 42%)
HSVhsv(339, 74%, 67%)
CMYKcmyk(0%, 74.3%, 48.5%, 32.9%)
CIE-LABlab(39.86, 53.91, 5.00)
CIE-LCHlch(39.86, 54.14, 5.30°)
OKLaboklab(50.3% 0.1649 0.0133)
OKLCHoklch(50.3% 0.165 4.6)
XYZxyz(19.4583, 11.1665, 10.3613)
Luminance0.1116 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2C58 #2CAB7F
analogous
#AB2C97 #AB2C58 #AB402C
triadic
#AB2C58 #58AB2C #2C58AB
tetradic
#AB2C58 #97AB2C #2CAB7F #402CAB
square
#AB2C58 #97AB2C #2CAB7F #402CAB
split-complementary
#AB2C58 #2CAB40 #2C97AB
monochromatic
#4A1326 #7A1F3F #AB2C58 #CF4575 #DC7699

Accessibility & contrast

On white

6.50
#AB2C58 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB2C58
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2C58#FFFFFF#000000##FFFFFF
##AB2C581.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4E59
Deuteranopia (green-blind)
#6C6755
Tritanopia (blue-blind)
#BA123F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab2c58;
/* rgb */ color: rgb(171, 44, 88);
/* oklch */ color: oklch(50.3% 0.165 4.6);
Tailwind
colors: {
  custom: {
    50: '#ca7086',
    500: '#ab2c58',
    950: '#000000',
  },
}
SCSS
$custom: #ab2c58;
$custom-light: #ca7086;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2c58",
  "rgb": {
    "r": 171,
    "g": 44,
    "b": 88
  },
  "hsl": {
    "h": 339.213,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50302,
    "c": 0.1654,
    "h": 4.6
  },
  "luminance": 0.11164
}

Semantic roles & 50–950 ramp

primary
#AB2C58
secondary
#6FC3A6
accent
#E2AC46
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080B
muted
#837B7C

Preview Lab

Preview with #AB2C58

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

Preview Lab → · Contrast checker → · Palette generator →

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