#AC2B99#AC2B99

#AC2B99 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.1% C 0.201 H 334.8°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#AC2B99
RGBrgb(172, 43, 153)
HSLhsl(309, 60%, 42%)
HSVhsv(309, 75%, 67%)
CMYKcmyk(0%, 75%, 11%, 32.5%)
CIE-LABlab(42.46, 62.40, -31.28)
CIE-LCHlch(42.46, 69.80, 333.37°)
OKLaboklab(53.06% 0.1819 -0.0855)
OKLCHoklch(53.06% 0.201 334.8)
XYZxyz(23.6272, 12.8004, 31.3572)
Luminance0.1280 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2B99 #2BAC3E
analogous
#7E2BAC #AC2B99 #AC2B59
triadic
#AC2B99 #99AC2B #2B99AC
tetradic
#AC2B99 #AC7E2B #2BAC3E #2B59AC
square
#AC2B99 #AC7E2B #2BAC3E #2B59AC
split-complementary
#AC2B99 #59AC2B #2BAC7E
monochromatic
#4A1342 #7B1F6D #AC2B99 #D044BC #DC75CD

Accessibility & contrast

On white

5.90
#AC2B99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#AC2B99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2B99
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2B99#FFFFFF#000000##FFFFFF
##AC2B991.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A589C
Deuteranopia (green-blind)
#596B96
Tritanopia (blue-blind)
#B4365F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac2b99;
/* rgb */ color: rgb(172, 43, 153);
/* oklch */ color: oklch(53.1% 0.201 334.8);
Tailwind
colors: {
  custom: {
    50: '#c872b7',
    500: '#ac2b99',
    950: '#000000',
  },
}
SCSS
$custom: #ac2b99;
$custom-light: #c872b7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2b99",
  "rgb": {
    "r": 172,
    "g": 43,
    "b": 153
  },
  "hsl": {
    "h": 308.837,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.5306,
    "c": 0.201,
    "h": 334.8
  },
  "luminance": 0.12798
}

Semantic roles & 50–950 ramp

primary
#AC2B99
secondary
#6FC47B
accent
#E35C45
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AC2B99

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

Preview Lab → · Contrast checker → · Palette generator →

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