#AB2C70#AB2C70

#AB2C70 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.1% C 0.174 H 352.4°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#AB2C70
RGBrgb(171, 44, 112)
HSLhsl(328, 59%, 42%)
HSVhsv(328, 74%, 67%)
CMYKcmyk(0%, 74.3%, 34.5%, 32.9%)
CIE-LABlab(40.62, 56.37, -8.97)
CIE-LCHlch(40.62, 57.08, 350.96°)
OKLaboklab(51.12% 0.1727 -0.0231)
OKLCHoklch(51.12% 0.174 352.4)
XYZxyz(20.6211, 11.6316, 16.4853)
Luminance0.1163 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2C70 #2CAB67
analogous
#A72CAB #AB2C70 #AB2C30
triadic
#AB2C70 #70AB2C #2C70AB
tetradic
#AB2C70 #ABA72C #2CAB67 #2C30AB
square
#AB2C70 #ABA72C #2CAB67 #2C30AB
split-complementary
#AB2C70 #30AB2C #2CABA7
monochromatic
#4A1330 #7A1F50 #AB2C70 #CF458F #DC76AC

Accessibility & contrast

On white

6.31
#AB2C70 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#AB2C70 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2C70
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2C70#FFFFFF#000000##FFFFFF
##AB2C701.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435172
Deuteranopia (green-blind)
#67686D
Tritanopia (blue-blind)
#B8214A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab2c70;
/* rgb */ color: rgb(171, 44, 112);
/* oklch */ color: oklch(51.1% 0.174 352.4);
Tailwind
colors: {
  custom: {
    50: '#c97199',
    500: '#ab2c70',
    950: '#000000',
  },
}
SCSS
$custom: #ab2c70;
$custom-light: #c97199;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2c70",
  "rgb": {
    "r": 171,
    "g": 44,
    "b": 112
  },
  "hsl": {
    "h": 327.874,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51115,
    "c": 0.17422,
    "h": 352.4
  },
  "luminance": 0.11629
}

Semantic roles & 50–950 ramp

primary
#AB2C70
secondary
#6FC396
accent
#E28E46
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080D
muted
#827B7E

Preview Lab

Preview with #AB2C70

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

Preview Lab → · Contrast checker → · Palette generator →

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