#AB3378#AB3378

#AB3378 is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.1% C 0.170 H 349.2°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#AB3378
RGBrgb(171, 51, 120)
HSLhsl(326, 54%, 44%)
HSVhsv(326, 70%, 67%)
CMYKcmyk(0%, 70.2%, 29.8%, 32.9%)
CIE-LABlab(41.82, 54.81, -12.13)
CIE-LCHlch(41.82, 56.14, 347.52°)
OKLaboklab(52.09% 0.1669 -0.0317)
OKLCHoklch(52.09% 0.17 349.2)
XYZxyz(21.3696, 12.3840, 19.0306)
Luminance0.1238 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3378 #33AB66
analogous
#A233AB #AB3378 #AB333C
triadic
#AB3378 #78AB33 #3378AB
tetradic
#AB3378 #ABA233 #33AB66 #333CAB
square
#AB3378 #ABA233 #33AB66 #333CAB
split-complementary
#AB3378 #3CAB33 #33ABA2
monochromatic
#4D1736 #7C2557 #AB3378 #CB5097 #D97FB3

Accessibility & contrast

On white

6.04
#AB3378 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#AB3378 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3378
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3378#FFFFFF#000000##FFFFFF
##AB33781.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44557A
Deuteranopia (green-blind)
#676A75
Tritanopia (blue-blind)
#B72D51
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ab3378;
/* rgb */ color: rgb(171, 51, 120);
/* oklch */ color: oklch(52.1% 0.170 349.2);
Tailwind
colors: {
  custom: {
    50: '#c8749f',
    500: '#ab3378',
    950: '#000000',
  },
}
SCSS
$custom: #ab3378;
$custom-light: #c8749f;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3378",
  "rgb": {
    "r": 171,
    "g": 51,
    "b": 120
  },
  "hsl": {
    "h": 325.5,
    "s": 54.054,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52087,
    "c": 0.16991,
    "h": 349.2
  },
  "luminance": 0.12382
}

Semantic roles & 50–950 ramp

primary
#AB3378
secondary
#78C297
accent
#DD894A
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AB3378

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

Preview Lab → · Contrast checker → · Palette generator →

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