#AC1F99#AC1F99

#AC1F99 is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.2% C 0.212 H 334.7°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#AC1F99
RGBrgb(172, 31, 153)
HSLhsl(308, 69%, 40%)
HSVhsv(308, 82%, 67%)
CMYKcmyk(0%, 82%, 11%, 32.5%)
CIE-LABlab(41.30, 65.74, -33.11)
CIE-LCHlch(41.30, 73.60, 333.27°)
OKLaboklab(52.23% 0.1918 -0.0907)
OKLCHoklch(52.23% 0.212 334.7)
XYZxyz(23.2533, 12.0527, 31.2326)
Luminance0.1205 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC1F99 #1FAC32
analogous
#781FAC #AC1F99 #AC1F53
triadic
#AC1F99 #99AC1F #1F99AC
tetradic
#AC1F99 #AC781F #1FAC32 #1F53AC
square
#AC1F99 #AC781F #1FAC32 #1F53AC
split-complementary
#AC1F99 #53AC1F #1FAC78
monochromatic
#440C3D #78166B #AC1F99 #D92FC2 #E363D2

Accessibility & contrast

On white

6.16
#AC1F99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#AC1F99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC1F99
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC1F99#FFFFFF#000000##FFFFFF
##AC1F991.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D549C
Deuteranopia (green-blind)
#556996
Tritanopia (blue-blind)
#B52E5C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ac1f99;
/* rgb */ color: rgb(172, 31, 153);
/* oklch */ color: oklch(52.2% 0.212 334.7);
Tailwind
colors: {
  custom: {
    50: '#c96eb7',
    500: '#ac1f99',
    950: '#000000',
  },
}
SCSS
$custom: #ac1f99;
$custom-light: #c96eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac1f99",
  "rgb": {
    "r": 172,
    "g": 31,
    "b": 153
  },
  "hsl": {
    "h": 308.085,
    "s": 69.458,
    "l": 39.804
  },
  "oklch": {
    "l": 0.52227,
    "c": 0.21214,
    "h": 334.7
  },
  "luminance": 0.12051
}

Semantic roles & 50–950 ramp

primary
#AC1F99
secondary
#5FC86D
accent
#EC533C
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AC1F99

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

Preview Lab → · Contrast checker → · Palette generator →

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