#AB3166#AB3166

#AB3166 is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.2% C 0.164 H 358.2°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#AB3166
RGBrgb(171, 49, 102)
HSLhsl(334, 55%, 43%)
HSVhsv(334, 71%, 67%)
CMYKcmyk(0%, 71.3%, 40.4%, 32.9%)
CIE-LABlab(40.92, 53.48, -2.27)
CIE-LCHlch(40.92, 53.53, 357.57°)
OKLaboklab(51.22% 0.164 -0.0053)
OKLCHoklch(51.22% 0.164 358.2)
XYZxyz(20.2926, 11.8164, 13.7800)
Luminance0.1181 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3166 #31AB76
analogous
#AB31A3 #AB3166 #AB3931
triadic
#AB3166 #66AB31 #3166AB
tetradic
#AB3166 #A3AB31 #31AB76 #3931AB
square
#AB3166 #A3AB31 #31AB76 #3931AB
split-complementary
#AB3166 #31AB39 #31A3AB
monochromatic
#4C162D #7B234A #AB3166 #CC4D84 #DA7DA5

Accessibility & contrast

On white

6.24
#AB3166 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#AB3166 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3166
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3166#FFFFFF#000000##FFFFFF
##AB31661.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495267
Deuteranopia (green-blind)
#6B6963
Tritanopia (blue-blind)
#B92247
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab3166;
/* rgb */ color: rgb(171, 49, 102);
/* oklch */ color: oklch(51.2% 0.164 358.2);
Tailwind
colors: {
  custom: {
    50: '#c97391',
    500: '#ab3166',
    950: '#000000',
  },
}
SCSS
$custom: #ab3166;
$custom-light: #c97391;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3166",
  "rgb": {
    "r": 171,
    "g": 49,
    "b": 102
  },
  "hsl": {
    "h": 333.934,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51222,
    "c": 0.16408,
    "h": 358.2
  },
  "luminance": 0.11814
}

Semantic roles & 50–950 ramp

primary
#AB3166
secondary
#75C2A1
accent
#DF9E49
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#14090C
muted
#827B7D

Preview Lab

Preview with #AB3166

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

Preview Lab → · Contrast checker → · Palette generator →

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