#AB3168#AB3168

#AB3168 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.3% C 0.165 H 357.1°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#AB3168
RGBrgb(171, 49, 104)
HSLhsl(333, 55%, 43%)
HSVhsv(333, 71%, 67%)
CMYKcmyk(0%, 71.3%, 39.2%, 32.9%)
CIE-LABlab(40.99, 53.70, -3.43)
CIE-LCHlch(40.99, 53.81, 356.35°)
OKLaboklab(51.29% 0.1646 -0.0083)
OKLCHoklch(51.29% 0.165 357.1)
XYZxyz(20.3929, 11.8565, 14.3086)
Luminance0.1185 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3168 #31AB74
analogous
#AB31A5 #AB3168 #AB3731
triadic
#AB3168 #68AB31 #3168AB
tetradic
#AB3168 #A5AB31 #31AB74 #3731AB
square
#AB3168 #A5AB31 #31AB74 #3731AB
split-complementary
#AB3168 #31AB37 #31A5AB
monochromatic
#4C162E #7B234B #AB3168 #CC4D86 #DA7DA7

Accessibility & contrast

On white

6.23
#AB3168 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#AB3168 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3168
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3168#FFFFFF#000000##FFFFFF
##AB31681.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495269
Deuteranopia (green-blind)
#6A6965
Tritanopia (blue-blind)
#B92348
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ab3168;
/* rgb */ color: rgb(171, 49, 104);
/* oklch */ color: oklch(51.3% 0.165 357.1);
Tailwind
colors: {
  custom: {
    50: '#c97393',
    500: '#ab3168',
    950: '#000000',
  },
}
SCSS
$custom: #ab3168;
$custom-light: #c97393;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3168",
  "rgb": {
    "r": 171,
    "g": 49,
    "b": 104
  },
  "hsl": {
    "h": 332.951,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51291,
    "c": 0.16485,
    "h": 357.1
  },
  "luminance": 0.11854
}

Semantic roles & 50–950 ramp

primary
#AB3168
secondary
#75C2A0
accent
#DF9B49
background
#FCF7F9
surface
#F9EDF1
border
#D2C8CB
text
#14090D
muted
#827B7E

Preview Lab

Preview with #AB3168

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

Preview Lab → · Contrast checker → · Palette generator →

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