#AB2C66#AB2C66

#AB2C66 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.7% C 0.170 H 357.4°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#AB2C66
RGBrgb(171, 44, 102)
HSLhsl(333, 59%, 42%)
HSVhsv(333, 74%, 67%)
CMYKcmyk(0%, 74.3%, 40.4%, 32.9%)
CIE-LABlab(40.28, 55.27, -3.22)
CIE-LCHlch(40.28, 55.37, 356.67°)
OKLaboklab(50.75% 0.1697 -0.0078)
OKLCHoklch(50.75% 0.17 357.4)
XYZxyz(20.0949, 11.4211, 13.7141)
Luminance0.1142 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2C66 #2CAB71
analogous
#AB2CA6 #AB2C66 #AB312C
triadic
#AB2C66 #66AB2C #2C66AB
tetradic
#AB2C66 #A6AB2C #2CAB71 #312CAB
square
#AB2C66 #A6AB2C #2CAB71 #312CAB
split-complementary
#AB2C66 #2CAB31 #2CA6AB
monochromatic
#4A132C #7A1F49 #AB2C66 #CF4584 #DC76A4

Accessibility & contrast

On white

6.40
#AB2C66 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#AB2C66 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2C66
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2C66#FFFFFF#000000##FFFFFF
##AB2C661.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465067
Deuteranopia (green-blind)
#696863
Tritanopia (blue-blind)
#B91B45
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #ab2c66;
/* rgb */ color: rgb(171, 44, 102);
/* oklch */ color: oklch(50.7% 0.170 357.4);
Tailwind
colors: {
  custom: {
    50: '#c97191',
    500: '#ab2c66',
    950: '#000000',
  },
}
SCSS
$custom: #ab2c66;
$custom-light: #c97191;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2c66",
  "rgb": {
    "r": 171,
    "g": 44,
    "b": 102
  },
  "hsl": {
    "h": 332.598,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.5075,
    "c": 0.16988,
    "h": 357.4
  },
  "luminance": 0.11419
}

Semantic roles & 50–950 ramp

primary
#AB2C66
secondary
#6FC39D
accent
#E29B46
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AB2C66

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

Preview Lab → · Contrast checker → · Palette generator →

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