#AB316C#AB316C

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

Color values

HEX#AB316C
RGBrgb(171, 49, 108)
HSLhsl(331, 55%, 43%)
HSVhsv(331, 71%, 67%)
CMYKcmyk(0%, 71.3%, 36.8%, 32.9%)
CIE-LABlab(41.12, 54.14, -5.73)
CIE-LCHlch(41.12, 54.44, 353.96°)
OKLaboklab(51.43% 0.1659 -0.0144)
OKLCHoklch(51.43% 0.167 355)
XYZxyz(20.6010, 11.9397, 15.4042)
Luminance0.1194 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB316C #31AB70
analogous
#AB31A9 #AB316C #AB3331
triadic
#AB316C #6CAB31 #316CAB
tetradic
#AB316C #A9AB31 #31AB70 #3331AB
square
#AB316C #A9AB31 #31AB70 #3331AB
split-complementary
#AB316C #31AB33 #31A9AB
monochromatic
#4C1630 #7B234E #AB316C #CC4D8B #DA7DAA

Accessibility & contrast

On white

6.20
#AB316C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#AB316C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB316C
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB316C#FFFFFF#000000##FFFFFF
##AB316C1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47536E
Deuteranopia (green-blind)
#696969
Tritanopia (blue-blind)
#B8254A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ab316c;
/* rgb */ color: rgb(171, 49, 108);
/* oklch */ color: oklch(51.4% 0.167 355.0);
Tailwind
colors: {
  custom: {
    50: '#c87396',
    500: '#ab316c',
    950: '#000000',
  },
}
SCSS
$custom: #ab316c;
$custom-light: #c87396;
$custom-dark: #000000;
JSON
{
  "hex": "#ab316c",
  "rgb": {
    "r": 171,
    "g": 49,
    "b": 108
  },
  "hsl": {
    "h": 330.984,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51432,
    "c": 0.16653,
    "h": 355
  },
  "luminance": 0.11937
}

Semantic roles & 50–950 ramp

primary
#AB316C
secondary
#75C29D
accent
#DF9649
background
#FCF7F9
surface
#F9EDF1
border
#D2C8CB
text
#14090D
muted
#827B7E

Preview Lab

Preview with #AB316C

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

Preview Lab → · Contrast checker → · Palette generator →

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