#AB189D#AB189D

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

Color values

HEX#AB189D
RGBrgb(171, 24, 157)
HSLhsl(306, 75%, 38%)
HSVhsv(306, 86%, 67%)
CMYKcmyk(0%, 86%, 8.2%, 32.9%)
CIE-LABlab(40.81, 67.63, -36.31)
CIE-LCHlch(40.81, 76.76, 331.77°)
OKLaboklab(51.92% 0.1953 -0.0999)
OKLCHoklch(51.92% 0.219 332.9)
XYZxyz(23.2072, 11.7476, 32.9370)
Luminance0.1175 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB189D #18AB26
analogous
#6F18AB #AB189D #AB1853
triadic
#AB189D #9DAB18 #189DAB
tetradic
#AB189D #AB6F18 #18AB26 #1853AB
square
#AB189D #AB6F18 #18AB26 #1853AB
split-complementary
#AB189D #53AB18 #18AB6F
monochromatic
#40093A #75106C #AB189D #E020CE #E756D9

Accessibility & contrast

On white

6.27
#AB189D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#AB189D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB189D
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB189D#FFFFFF#000000##FFFFFF
##AB189D1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0853A0
Deuteranopia (green-blind)
#50679A
Tritanopia (blue-blind)
#B32D5E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab189d;
/* rgb */ color: rgb(171, 24, 157);
/* oklch */ color: oklch(51.9% 0.219 332.9);
Tailwind
colors: {
  custom: {
    50: '#c86cba',
    500: '#ab189d',
    950: '#000000',
  },
}
SCSS
$custom: #ab189d;
$custom-light: #c86cba;
$custom-dark: #000000;
JSON
{
  "hex": "#ab189d",
  "rgb": {
    "r": 171,
    "g": 24,
    "b": 157
  },
  "hsl": {
    "h": 305.714,
    "s": 75.385,
    "l": 38.235
  },
  "oklch": {
    "l": 0.51916,
    "c": 0.21942,
    "h": 332.9
  },
  "luminance": 0.11746
}

Semantic roles & 50–950 ramp

primary
#AB189D
secondary
#55CA60
accent
#F24836
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #AB189D

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

Preview Lab → · Contrast checker → · Palette generator →

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