#AC2C98#AC2C98

#AC2C98 is a mid, vivid purple. Relative luminance 0.128; OKLCH L 53.1% C 0.199 H 335.2°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#AC2C98
RGBrgb(172, 44, 152)
HSLhsl(309, 59%, 42%)
HSVhsv(309, 74%, 67%)
CMYKcmyk(0%, 74.4%, 11.6%, 32.5%)
CIE-LABlab(42.52, 61.93, -30.58)
CIE-LCHlch(42.52, 69.07, 333.72°)
OKLaboklab(53.09% 0.1809 -0.0835)
OKLCHoklch(53.09% 0.199 335.2)
XYZxyz(23.5817, 12.8411, 30.9363)
Luminance0.1284 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2C98 #2CAC40
analogous
#802CAC #AC2C98 #AC2C58
triadic
#AC2C98 #98AC2C #2C98AC
tetradic
#AC2C98 #AC802C #2CAC40 #2C58AC
square
#AC2C98 #AC802C #2CAC40 #2C58AC
split-complementary
#AC2C98 #58AC2C #2CAC80
monochromatic
#4B1342 #7B206D #AC2C98 #D046BA #DC76CC

Accessibility & contrast

On white

5.89
#AC2C98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#AC2C98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2C98
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2C98#FFFFFF#000000##FFFFFF
##AC2C981.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C589B
Deuteranopia (green-blind)
#5A6B95
Tritanopia (blue-blind)
#B5365F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac2c98;
/* rgb */ color: rgb(172, 44, 152);
/* oklch */ color: oklch(53.1% 0.199 335.2);
Tailwind
colors: {
  custom: {
    50: '#c872b6',
    500: '#ac2c98',
    950: '#000000',
  },
}
SCSS
$custom: #ac2c98;
$custom-light: #c872b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2c98",
  "rgb": {
    "r": 172,
    "g": 44,
    "b": 152
  },
  "hsl": {
    "h": 309.375,
    "s": 59.259,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53088,
    "c": 0.19923,
    "h": 335.2
  },
  "luminance": 0.12839
}

Semantic roles & 50–950 ramp

primary
#AC2C98
secondary
#70C47D
accent
#E25E45
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AC2C98

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

Preview Lab → · Contrast checker → · Palette generator →

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