#AC1D98#AC1D98

#AC1D98 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 52.1% C 0.213 H 335.0°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#AC1D98
RGBrgb(172, 29, 152)
HSLhsl(308, 71%, 39%)
HSVhsv(308, 83%, 67%)
CMYKcmyk(0%, 83.1%, 11.6%, 32.5%)
CIE-LABlab(41.09, 66.06, -32.84)
CIE-LCHlch(41.09, 73.77, 333.57°)
OKLaboklab(52.06% 0.1931 -0.0899)
OKLCHoklch(52.06% 0.213 335)
XYZxyz(23.1205, 11.9185, 30.7825)
Luminance0.1192 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC1D98 #1DAC31
analogous
#791DAC #AC1D98 #AC1D50
triadic
#AC1D98 #98AC1D #1D98AC
tetradic
#AC1D98 #AC791D #1DAC31 #1D50AC
square
#AC1D98 #AC791D #1DAC31 #1D50AC
split-complementary
#AC1D98 #50AC1D #1DAC79
monochromatic
#430B3B #78146A #AC1D98 #DB2BC3 #E45FD2

Accessibility & contrast

On white

6.21
#AC1D98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#AC1D98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC1D98
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC1D98#FFFFFF#000000##FFFFFF
##AC1D981.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C549B
Deuteranopia (green-blind)
#556895
Tritanopia (blue-blind)
#B52C5C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ac1d98;
/* rgb */ color: rgb(172, 29, 152);
/* oklch */ color: oklch(52.1% 0.213 335.0);
Tailwind
colors: {
  custom: {
    50: '#c96db7',
    500: '#ac1d98',
    950: '#000000',
  },
}
SCSS
$custom: #ac1d98;
$custom-light: #c96db7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac1d98",
  "rgb": {
    "r": 172,
    "g": 29,
    "b": 152
  },
  "hsl": {
    "h": 308.392,
    "s": 71.144,
    "l": 39.412
  },
  "oklch": {
    "l": 0.52058,
    "c": 0.21303,
    "h": 335
  },
  "luminance": 0.11916
}

Semantic roles & 50–950 ramp

primary
#AC1D98
secondary
#5CC86B
accent
#EE533A
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AC1D98

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

Preview Lab → · Contrast checker → · Palette generator →

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