#AB189C#AB189C

#AB189C is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.9% C 0.219 H 333.3°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#AB189C
RGBrgb(171, 24, 156)
HSLhsl(306, 75%, 38%)
HSVhsv(306, 86%, 67%)
CMYKcmyk(0%, 86%, 8.8%, 32.9%)
CIE-LABlab(40.76, 67.49, -35.79)
CIE-LCHlch(40.76, 76.39, 332.06°)
OKLaboklab(51.86% 0.1953 -0.0984)
OKLCHoklch(51.86% 0.219 333.3)
XYZxyz(23.1222, 11.7136, 32.4892)
Luminance0.1171 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB189C #18AB27
analogous
#7018AB #AB189C #AB1853
triadic
#AB189C #9CAB18 #189CAB
tetradic
#AB189C #AB7018 #18AB27 #1853AB
square
#AB189C #AB7018 #18AB27 #1853AB
split-complementary
#AB189C #53AB18 #18AB70
monochromatic
#40093A #75106B #AB189C #E020CC #E756D8

Accessibility & contrast

On white

6.28
#AB189C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#AB189C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB189C
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB189C#FFFFFF#000000##FFFFFF
##AB189C1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C539F
Deuteranopia (green-blind)
#516799
Tritanopia (blue-blind)
#B32C5D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab189c;
/* rgb */ color: rgb(171, 24, 156);
/* oklch */ color: oklch(51.9% 0.219 333.3);
Tailwind
colors: {
  custom: {
    50: '#c86cb9',
    500: '#ab189c',
    950: '#000000',
  },
}
SCSS
$custom: #ab189c;
$custom-light: #c86cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#ab189c",
  "rgb": {
    "r": 171,
    "g": 24,
    "b": 156
  },
  "hsl": {
    "h": 306.122,
    "s": 75.385,
    "l": 38.235
  },
  "oklch": {
    "l": 0.51859,
    "c": 0.21875,
    "h": 333.3
  },
  "luminance": 0.11711
}

Semantic roles & 50–950 ramp

primary
#AB189C
secondary
#55CA61
accent
#F24936
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AB189C

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

Preview Lab → · Contrast checker → · Palette generator →

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