#AB2C75#AB2C75

#AB2C75 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.3% C 0.177 H 350.0°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#AB2C75
RGBrgb(171, 44, 117)
HSLhsl(326, 59%, 42%)
HSVhsv(326, 74%, 67%)
CMYKcmyk(0%, 74.3%, 31.6%, 32.9%)
CIE-LABlab(40.81, 56.96, -11.80)
CIE-LCHlch(40.81, 58.17, 348.29°)
OKLaboklab(51.31% 0.174 -0.0308)
OKLCHoklch(51.31% 0.177 350)
XYZxyz(20.9073, 11.7460, 17.9924)
Luminance0.1174 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2C75 #2CAB62
analogous
#A22CAB #AB2C75 #AB2C35
triadic
#AB2C75 #75AB2C #2C75AB
tetradic
#AB2C75 #ABA22C #2CAB62 #2C35AB
square
#AB2C75 #ABA22C #2CAB62 #2C35AB
split-complementary
#AB2C75 #35AB2C #2CABA2
monochromatic
#4A1332 #7A1F54 #AB2C75 #CF4594 #DC76B0

Accessibility & contrast

On white

6.27
#AB2C75 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#AB2C75 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2C75
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2C75#FFFFFF#000000##FFFFFF
##AB2C751.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415277
Deuteranopia (green-blind)
#656872
Tritanopia (blue-blind)
#B8244D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab2c75;
/* rgb */ color: rgb(171, 44, 117);
/* oklch */ color: oklch(51.3% 0.177 350.0);
Tailwind
colors: {
  custom: {
    50: '#c8719c',
    500: '#ab2c75',
    950: '#000000',
  },
}
SCSS
$custom: #ab2c75;
$custom-light: #c8719c;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2c75",
  "rgb": {
    "r": 171,
    "g": 44,
    "b": 117
  },
  "hsl": {
    "h": 325.512,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51311,
    "c": 0.17671,
    "h": 350
  },
  "luminance": 0.11744
}

Semantic roles & 50–950 ramp

primary
#AB2C75
secondary
#6FC393
accent
#E28846
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080E
muted
#827B7E

Preview Lab

Preview with #AB2C75

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

Preview Lab → · Contrast checker → · Palette generator →

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