#AB2C6A#AB2C6A

#AB2C6A is a mid, vivid pink. Relative luminance 0.115; OKLCH L 50.9% C 0.172 H 355.4°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#AB2C6A
RGBrgb(171, 44, 106)
HSLhsl(331, 59%, 42%)
HSVhsv(331, 74%, 67%)
CMYKcmyk(0%, 74.3%, 38%, 32.9%)
CIE-LABlab(40.41, 55.70, -5.53)
CIE-LCHlch(40.41, 55.98, 354.33°)
OKLaboklab(50.89% 0.1709 -0.0139)
OKLCHoklch(50.89% 0.172 355.4)
XYZxyz(20.2981, 11.5024, 14.7841)
Luminance0.1150 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2C6A #2CAB6D
analogous
#AB2CAA #AB2C6A #AB2E2C
triadic
#AB2C6A #6AAB2C #2C6AAB
tetradic
#AB2C6A #AAAB2C #2CAB6D #2E2CAB
square
#AB2C6A #AAAB2C #2CAB6D #2E2CAB
split-complementary
#AB2C6A #2CAB2E #2CAAAB
monochromatic
#4A132E #7A1F4C #AB2C6A #CF4588 #DC76A7

Accessibility & contrast

On white

6.36
#AB2C6A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#AB2C6A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2C6A
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2C6A#FFFFFF#000000##FFFFFF
##AB2C6A1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45506C
Deuteranopia (green-blind)
#686867
Tritanopia (blue-blind)
#B91E47
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #ab2c6a;
/* rgb */ color: rgb(171, 44, 106);
/* oklch */ color: oklch(50.9% 0.172 355.4);
Tailwind
colors: {
  custom: {
    50: '#c97194',
    500: '#ab2c6a',
    950: '#000000',
  },
}
SCSS
$custom: #ab2c6a;
$custom-light: #c97194;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2c6a",
  "rgb": {
    "r": 171,
    "g": 44,
    "b": 106
  },
  "hsl": {
    "h": 330.709,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50892,
    "c": 0.1715,
    "h": 355.4
  },
  "luminance": 0.115
}

Semantic roles & 50–950 ramp

primary
#AB2C6A
secondary
#6FC39A
accent
#E29646
background
#FCF7F9
surface
#F9EDF1
border
#D2C8CB
text
#14080D
muted
#827B7E

Preview Lab

Preview with #AB2C6A

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

Preview Lab → · Contrast checker → · Palette generator →

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