#AB3170#AB3170

#AB3170 is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.6% C 0.168 H 353.0°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#AB3170
RGBrgb(171, 49, 112)
HSLhsl(329, 55%, 43%)
HSVhsv(329, 71%, 67%)
CMYKcmyk(0%, 71.3%, 34.5%, 32.9%)
CIE-LABlab(41.26, 54.59, -8.02)
CIE-LCHlch(41.26, 55.18, 351.65°)
OKLaboklab(51.58% 0.1671 -0.0205)
OKLCHoklch(51.58% 0.168 353)
XYZxyz(20.8187, 12.0268, 16.5512)
Luminance0.1202 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3170 #31AB6C
analogous
#A931AB #AB3170 #AB3133
triadic
#AB3170 #70AB31 #3170AB
tetradic
#AB3170 #ABA931 #31AB6C #3133AB
square
#AB3170 #ABA931 #31AB6C #3133AB
split-complementary
#AB3170 #33AB31 #31ABA9
monochromatic
#4C1632 #7B2351 #AB3170 #CC4D8F #DA7DAD

Accessibility & contrast

On white

6.17
#AB3170 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB3170
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3170#FFFFFF#000000##FFFFFF
##AB31701.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465372
Deuteranopia (green-blind)
#68696D
Tritanopia (blue-blind)
#B8274C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ab3170;
/* rgb */ color: rgb(171, 49, 112);
/* oklch */ color: oklch(51.6% 0.168 353.0);
Tailwind
colors: {
  custom: {
    50: '#c87399',
    500: '#ab3170',
    950: '#000000',
  },
}
SCSS
$custom: #ab3170;
$custom-light: #c87399;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3170",
  "rgb": {
    "r": 171,
    "g": 49,
    "b": 112
  },
  "hsl": {
    "h": 329.016,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.5158,
    "c": 0.16834,
    "h": 353
  },
  "luminance": 0.12024
}

Semantic roles & 50–950 ramp

primary
#AB3170
secondary
#75C29B
accent
#DF9149
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090D
muted
#827B7E

Preview Lab

Preview with #AB3170

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

Preview Lab → · Contrast checker → · Palette generator →

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