#AB316A#AB316A

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

Color values

HEX#AB316A
RGBrgb(171, 49, 106)
HSLhsl(332, 55%, 43%)
HSVhsv(332, 71%, 67%)
CMYKcmyk(0%, 71.3%, 38%, 32.9%)
CIE-LABlab(41.05, 53.91, -4.58)
CIE-LCHlch(41.05, 54.11, 355.14°)
OKLaboklab(51.36% 0.1653 -0.0114)
OKLCHoklch(51.36% 0.166 356.1)
XYZxyz(20.4957, 11.8976, 14.8500)
Luminance0.1190 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB316A #31AB72
analogous
#AB31A7 #AB316A #AB3531
triadic
#AB316A #6AAB31 #316AAB
tetradic
#AB316A #A7AB31 #31AB72 #3531AB
square
#AB316A #A7AB31 #31AB72 #3531AB
split-complementary
#AB316A #31AB35 #31A7AB
monochromatic
#4C162F #7B234D #AB316A #CC4D88 #DA7DA8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB316A#FFFFFF#000000##FFFFFF
##AB316A1.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)
#48526C
Deuteranopia (green-blind)
#6A6967
Tritanopia (blue-blind)
#B92449
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ab316a;
/* rgb */ color: rgb(171, 49, 106);
/* oklch */ color: oklch(51.4% 0.166 356.1);
Tailwind
colors: {
  custom: {
    50: '#c97394',
    500: '#ab316a',
    950: '#000000',
  },
}
SCSS
$custom: #ab316a;
$custom-light: #c97394;
$custom-dark: #000000;
JSON
{
  "hex": "#ab316a",
  "rgb": {
    "r": 171,
    "g": 49,
    "b": 106
  },
  "hsl": {
    "h": 331.967,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51361,
    "c": 0.16567,
    "h": 356.1
  },
  "luminance": 0.11895
}

Semantic roles & 50–950 ramp

primary
#AB316A
secondary
#75C29E
accent
#DF9949
background
#FCF7F9
surface
#F9EDF1
border
#D2C8CB
text
#14090D
muted
#827B7E

Preview Lab

Preview with #AB316A

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

Preview Lab → · Contrast checker → · Palette generator →

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