#AB3371#AB3371

#AB3371 is a mid, vivid pink. Relative luminance 0.122; OKLCH L 51.8% C 0.166 H 352.7°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#AB3371
RGBrgb(171, 51, 113)
HSLhsl(329, 54%, 44%)
HSVhsv(329, 70%, 67%)
CMYKcmyk(0%, 70.2%, 33.9%, 32.9%)
CIE-LABlab(41.56, 53.96, -8.18)
CIE-LCHlch(41.56, 54.58, 351.38°)
OKLaboklab(51.82% 0.165 -0.021)
OKLCHoklch(51.82% 0.166 352.7)
XYZxyz(20.9602, 12.2202, 16.8745)
Luminance0.1222 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3371 #33AB6D
analogous
#A933AB #AB3371 #AB3335
triadic
#AB3371 #71AB33 #3371AB
tetradic
#AB3371 #ABA933 #33AB6D #3335AB
square
#AB3371 #ABA933 #33AB6D #3335AB
split-complementary
#AB3371 #35AB33 #33ABA9
monochromatic
#4D1733 #7C2552 #AB3371 #CB5090 #D97FAE

Accessibility & contrast

On white

6.10
#AB3371 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#AB3371 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3371
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3371#FFFFFF#000000##FFFFFF
##AB33711.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475473
Deuteranopia (green-blind)
#696A6E
Tritanopia (blue-blind)
#B82A4D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ab3371;
/* rgb */ color: rgb(171, 51, 113);
/* oklch */ color: oklch(51.8% 0.166 352.7);
Tailwind
colors: {
  custom: {
    50: '#c87499',
    500: '#ab3371',
    950: '#000000',
  },
}
SCSS
$custom: #ab3371;
$custom-light: #c87499;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3371",
  "rgb": {
    "r": 171,
    "g": 51,
    "b": 113
  },
  "hsl": {
    "h": 329,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51815,
    "c": 0.16634,
    "h": 352.7
  },
  "luminance": 0.12218
}

Semantic roles & 50–950 ramp

primary
#AB3371
secondary
#78C29C
accent
#DD914A
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AB3371

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

Preview Lab → · Contrast checker → · Palette generator →

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