#AB2C7C#AB2C7C

#AB2C7C is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.6% C 0.181 H 346.7°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#AB2C7C
RGBrgb(171, 44, 124)
HSLhsl(322, 59%, 42%)
HSVhsv(322, 74%, 67%)
CMYKcmyk(0%, 74.3%, 27.5%, 32.9%)
CIE-LABlab(41.08, 57.82, -15.72)
CIE-LCHlch(41.08, 59.92, 344.78°)
OKLaboklab(51.6% 0.1757 -0.0416)
OKLCHoklch(51.6% 0.181 346.7)
XYZxyz(21.3343, 11.9169, 20.2415)
Luminance0.1192 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2C7C #2CAB5B
analogous
#9B2CAB #AB2C7C #AB2C3C
triadic
#AB2C7C #7CAB2C #2C7CAB
tetradic
#AB2C7C #AB9B2C #2CAB5B #2C3CAB
square
#AB2C7C #AB9B2C #2CAB5B #2C3CAB
split-complementary
#AB2C7C #3CAB2C #2CAB9B
monochromatic
#4A1335 #7A1F59 #AB2C7C #CF459C #DC76B6

Accessibility & contrast

On white

6.21
#AB2C7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#AB2C7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2C7C
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2C7C#FFFFFF#000000##FFFFFF
##AB2C7C1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D537E
Deuteranopia (green-blind)
#636979
Tritanopia (blue-blind)
#B72850
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ab2c7c;
/* rgb */ color: rgb(171, 44, 124);
/* oklch */ color: oklch(51.6% 0.181 346.7);
Tailwind
colors: {
  custom: {
    50: '#c871a2',
    500: '#ab2c7c',
    950: '#000000',
  },
}
SCSS
$custom: #ab2c7c;
$custom-light: #c871a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2c7c",
  "rgb": {
    "r": 171,
    "g": 44,
    "b": 124
  },
  "hsl": {
    "h": 322.205,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.516,
    "c": 0.18053,
    "h": 346.7
  },
  "luminance": 0.11915
}

Semantic roles & 50–950 ramp

primary
#AB2C7C
secondary
#6FC38E
accent
#E28046
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090F
muted
#827B7E

Preview Lab

Preview with #AB2C7C

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

Preview Lab → · Contrast checker → · Palette generator →

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