#AB189F#AB189F

#AB189F is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 52.0% C 0.221 H 332.2°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#AB189F
RGBrgb(171, 24, 159)
HSLhsl(305, 75%, 38%)
HSVhsv(305, 86%, 67%)
CMYKcmyk(0%, 86%, 7%, 32.9%)
CIE-LABlab(40.92, 67.92, -37.34)
CIE-LCHlch(40.92, 77.51, 331.20°)
OKLaboklab(52.03% 0.1953 -0.1029)
OKLCHoklch(52.03% 0.221 332.2)
XYZxyz(23.3793, 11.8165, 33.8437)
Luminance0.1181 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB189F #18AB24
analogous
#6D18AB #AB189F #AB1855
triadic
#AB189F #9FAB18 #189FAB
tetradic
#AB189F #AB6D18 #18AB24 #1855AB
square
#AB189F #AB6D18 #18AB24 #1855AB
split-complementary
#AB189F #55AB18 #18AB6D
monochromatic
#40093B #75106D #AB189F #E020D0 #E756DB

Accessibility & contrast

On white

6.24
#AB189F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#AB189F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB189F
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB189F#FFFFFF#000000##FFFFFF
##AB189F1.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0254A2
Deuteranopia (green-blind)
#4F679C
Tritanopia (blue-blind)
#B32E5F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab189f;
/* rgb */ color: rgb(171, 24, 159);
/* oklch */ color: oklch(52.0% 0.221 332.2);
Tailwind
colors: {
  custom: {
    50: '#c86cbc',
    500: '#ab189f',
    950: '#000000',
  },
}
SCSS
$custom: #ab189f;
$custom-light: #c86cbc;
$custom-dark: #000000;
JSON
{
  "hex": "#ab189f",
  "rgb": {
    "r": 171,
    "g": 24,
    "b": 159
  },
  "hsl": {
    "h": 304.898,
    "s": 75.385,
    "l": 38.235
  },
  "oklch": {
    "l": 0.5203,
    "c": 0.22079,
    "h": 332.2
  },
  "luminance": 0.11814
}

Semantic roles & 50–950 ramp

primary
#AB189F
secondary
#55CA5E
accent
#F24536
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140812
muted
#827B81

Preview Lab

Preview with #AB189F

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

Preview Lab → · Contrast checker → · Palette generator →

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