#AB3374#AB3374

#AB3374 is a mid, vivid pink. Relative luminance 0.123; OKLCH L 51.9% C 0.168 H 351.2°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#AB3374
RGBrgb(171, 51, 116)
HSLhsl(328, 54%, 44%)
HSVhsv(328, 70%, 67%)
CMYKcmyk(0%, 70.2%, 32.2%, 32.9%)
CIE-LABlab(41.67, 54.32, -9.88)
CIE-LCHlch(41.67, 55.21, 349.69°)
OKLaboklab(51.93% 0.1659 -0.0256)
OKLCHoklch(51.93% 0.168 351.2)
XYZxyz(21.1319, 12.2889, 17.7788)
Luminance0.1229 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3374 #33AB6A
analogous
#A633AB #AB3374 #AB3338
triadic
#AB3374 #74AB33 #3374AB
tetradic
#AB3374 #ABA633 #33AB6A #3338AB
square
#AB3374 #ABA633 #33AB6A #3338AB
split-complementary
#AB3374 #38AB33 #33ABA6
monochromatic
#4D1734 #7C2554 #AB3374 #CB5093 #D97FB0

Accessibility & contrast

On white

6.07
#AB3374 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#AB3374 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3374
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3374#FFFFFF#000000##FFFFFF
##AB33741.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465576
Deuteranopia (green-blind)
#686A71
Tritanopia (blue-blind)
#B82B4F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ab3374;
/* rgb */ color: rgb(171, 51, 116);
/* oklch */ color: oklch(51.9% 0.168 351.2);
Tailwind
colors: {
  custom: {
    50: '#c8749c',
    500: '#ab3374',
    950: '#000000',
  },
}
SCSS
$custom: #ab3374;
$custom-light: #c8749c;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3374",
  "rgb": {
    "r": 171,
    "g": 51,
    "b": 116
  },
  "hsl": {
    "h": 327.5,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.5193,
    "c": 0.16782,
    "h": 351.2
  },
  "luminance": 0.12287
}

Semantic roles & 50–950 ramp

primary
#AB3374
secondary
#78C29A
accent
#DD8E4A
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AB3374

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

Preview Lab → · Contrast checker → · Palette generator →

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