#AB389C#AB389C

#AB389C is a mid, vivid purple. Relative luminance 0.139; OKLCH L 54.2% C 0.187 H 333.5°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#AB389C
RGBrgb(171, 56, 156)
HSLhsl(308, 51%, 45%)
HSVhsv(308, 67%, 67%)
CMYKcmyk(0%, 67.3%, 8.8%, 32.9%)
CIE-LABlab(44.07, 58.01, -30.57)
CIE-LCHlch(44.07, 65.57, 332.21°)
OKLaboklab(54.24% 0.1676 -0.0836)
OKLCHoklch(54.24% 0.187 333.5)
XYZxyz(24.2096, 13.8885, 32.8517)
Luminance0.1389 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB389C #38AB47
analogous
#8138AB #AB389C #AB3863
triadic
#AB389C #9CAB38 #389CAB
tetradic
#AB389C #AB8138 #38AB47 #3863AB
square
#AB389C #AB8138 #38AB47 #3863AB
split-complementary
#AB389C #63AB38 #38AB81
monochromatic
#4F1A48 #7D2972 #AB389C #C858BA #D786CD

Accessibility & contrast

On white

5.56
#AB389C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#AB389C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB389C
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB389C#FFFFFF#000000##FFFFFF
##AB389C1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355E9F
Deuteranopia (green-blind)
#5C6E99
Tritanopia (blue-blind)
#B34265
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #ab389c;
/* rgb */ color: rgb(171, 56, 156);
/* oklch */ color: oklch(54.2% 0.187 333.5);
Tailwind
colors: {
  custom: {
    50: '#c778b9',
    500: '#ab389c',
    950: '#000000',
  },
}
SCSS
$custom: #ab389c;
$custom-light: #c778b9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab389c",
  "rgb": {
    "r": 171,
    "g": 56,
    "b": 156
  },
  "hsl": {
    "h": 307.826,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.5424,
    "c": 0.18729,
    "h": 333.5
  },
  "luminance": 0.13887
}

Semantic roles & 50–950 ramp

primary
#AB389C
secondary
#7DC186
accent
#DA604E
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#130911
muted
#827B80

Preview Lab

Preview with #AB389C

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

Preview Lab → · Contrast checker → · Palette generator →

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