#AB3894#AB3894

#AB3894 is a mid, vivid pink. Relative luminance 0.136; OKLCH L 53.8% C 0.181 H 336.8°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#AB3894
RGBrgb(171, 56, 148)
HSLhsl(312, 51%, 45%)
HSVhsv(312, 67%, 67%)
CMYKcmyk(0%, 67.3%, 13.5%, 32.9%)
CIE-LABlab(43.69, 56.77, -26.35)
CIE-LCHlch(43.69, 62.59, 335.10°)
OKLaboklab(53.84% 0.1666 -0.0716)
OKLCHoklch(53.84% 0.181 336.8)
XYZxyz(23.5544, 13.6264, 29.4009)
Luminance0.1362 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3894 #38AB4F
analogous
#8938AB #AB3894 #AB385B
triadic
#AB3894 #94AB38 #3894AB
tetradic
#AB3894 #AB8938 #38AB4F #385BAB
square
#AB3894 #AB8938 #38AB4F #385BAB
split-complementary
#AB3894 #5BAB38 #38AB89
monochromatic
#4F1A44 #7D296C #AB3894 #C858B2 #D786C7

Accessibility & contrast

On white

5.64
#AB3894 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#AB3894 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3894
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3894#FFFFFF#000000##FFFFFF
##AB38941.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5C97
Deuteranopia (green-blind)
#606E91
Tritanopia (blue-blind)
#B43E61
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ab3894;
/* rgb */ color: rgb(171, 56, 148);
/* oklch */ color: oklch(53.8% 0.181 336.8);
Tailwind
colors: {
  custom: {
    50: '#c778b3',
    500: '#ab3894',
    950: '#000000',
  },
}
SCSS
$custom: #ab3894;
$custom-light: #c778b3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3894",
  "rgb": {
    "r": 171,
    "g": 56,
    "b": 148
  },
  "hsl": {
    "h": 312,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.5384,
    "c": 0.18132,
    "h": 336.8
  },
  "luminance": 0.13624
}

Semantic roles & 50–950 ramp

primary
#AB3894
secondary
#7DC18B
accent
#DA6A4E
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#130911
muted
#827B80

Preview Lab

Preview with #AB3894

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

Preview Lab → · Contrast checker → · Palette generator →

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