#AC2A98#AC2A98

#AC2A98 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 52.9% C 0.201 H 335.2°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#AC2A98
RGBrgb(172, 42, 152)
HSLhsl(309, 61%, 42%)
HSVhsv(309, 76%, 67%)
CMYKcmyk(0%, 75.6%, 11.6%, 32.5%)
CIE-LABlab(42.30, 62.56, -30.93)
CIE-LCHlch(42.30, 69.79, 333.69°)
OKLaboklab(52.93% 0.1827 -0.0845)
OKLCHoklch(52.93% 0.201 335.2)
XYZxyz(23.5090, 12.6957, 30.9121)
Luminance0.1269 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2A98 #2AAC3E
analogous
#7F2AAC #AC2A98 #AC2A57
triadic
#AC2A98 #98AC2A #2A98AC
tetradic
#AC2A98 #AC7F2A #2AAC3E #2A57AC
square
#AC2A98 #AC7F2A #2AAC3E #2A57AC
split-complementary
#AC2A98 #57AC2A #2AAC7F
monochromatic
#4A1241 #7B1E6D #AC2A98 #D142BB #DD73CD

Accessibility & contrast

On white

5.93
#AC2A98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#AC2A98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2A98
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2A98#FFFFFF#000000##FFFFFF
##AC2A981.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A589B
Deuteranopia (green-blind)
#596B95
Tritanopia (blue-blind)
#B5355F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac2a98;
/* rgb */ color: rgb(172, 42, 152);
/* oklch */ color: oklch(52.9% 0.201 335.2);
Tailwind
colors: {
  custom: {
    50: '#c972b6',
    500: '#ac2a98',
    950: '#000000',
  },
}
SCSS
$custom: #ac2a98;
$custom-light: #c972b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2a98",
  "rgb": {
    "r": 172,
    "g": 42,
    "b": 152
  },
  "hsl": {
    "h": 309.231,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.52928,
    "c": 0.20134,
    "h": 335.2
  },
  "luminance": 0.12694
}

Semantic roles & 50–950 ramp

primary
#AC2A98
secondary
#6DC47B
accent
#E45D44
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AC2A98

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

Preview Lab → · Contrast checker → · Palette generator →

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