#AB316E#AB316E

#AB316E is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.5% C 0.167 H 354.0°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#AB316E
RGBrgb(171, 49, 110)
HSLhsl(330, 55%, 43%)
HSVhsv(330, 71%, 67%)
CMYKcmyk(0%, 71.3%, 35.7%, 32.9%)
CIE-LABlab(41.19, 54.36, -6.88)
CIE-LCHlch(41.19, 54.80, 352.79°)
OKLaboklab(51.51% 0.1665 -0.0175)
OKLCHoklch(51.51% 0.167 354)
XYZxyz(20.7086, 11.9828, 15.9712)
Luminance0.1198 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB316E #31AB6E
analogous
#AB31AB #AB316E #AB3131
triadic
#AB316E #6EAB31 #316EAB
tetradic
#AB316E #ABAB31 #31AB6E #3131AB
square
#AB316E #ABAB31 #31AB6E #3131AB
split-complementary
#AB316E #31AB31 #31ABAB
monochromatic
#4C1631 #7B234F #AB316E #CC4D8D #DA7DAB

Accessibility & contrast

On white

6.18
#AB316E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#AB316E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB316E
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB316E#FFFFFF#000000##FFFFFF
##AB316E1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475370
Deuteranopia (green-blind)
#69696B
Tritanopia (blue-blind)
#B8264B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ab316e;
/* rgb */ color: rgb(171, 49, 110);
/* oklch */ color: oklch(51.5% 0.167 354.0);
Tailwind
colors: {
  custom: {
    50: '#c87397',
    500: '#ab316e',
    950: '#000000',
  },
}
SCSS
$custom: #ab316e;
$custom-light: #c87397;
$custom-dark: #000000;
JSON
{
  "hex": "#ab316e",
  "rgb": {
    "r": 171,
    "g": 49,
    "b": 110
  },
  "hsl": {
    "h": 330,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51505,
    "c": 0.16742,
    "h": 354
  },
  "luminance": 0.1198
}

Semantic roles & 50–950 ramp

primary
#AB316E
secondary
#75C29C
accent
#DF9449
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090D
muted
#827B7E

Preview Lab

Preview with #AB316E

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

Preview Lab → · Contrast checker → · Palette generator →

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