#AC2F99#AC2F99

#AC2F99 is a mid, vivid purple. Relative luminance 0.131; OKLCH L 53.4% C 0.197 H 334.9°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#AC2F99
RGBrgb(172, 47, 153)
HSLhsl(309, 57%, 43%)
HSVhsv(309, 73%, 67%)
CMYKcmyk(0%, 72.7%, 11%, 32.5%)
CIE-LABlab(42.92, 61.09, -30.56)
CIE-LCHlch(42.92, 68.30, 333.42°)
OKLaboklab(53.39% 0.178 -0.0835)
OKLCHoklch(53.39% 0.197 334.9)
XYZxyz(23.7798, 13.1057, 31.4081)
Luminance0.1310 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2F99 #2FAC42
analogous
#802FAC #AC2F99 #AC2F5A
triadic
#AC2F99 #99AC2F #2F99AC
tetradic
#AC2F99 #AC802F #2FAC42 #2F5AAC
square
#AC2F99 #AC802F #2FAC42 #2F5AAC
split-complementary
#AC2F99 #5AAC2F #2FAC80
monochromatic
#4C1543 #7C226E #AC2F99 #CE4BBA #DB7BCC

Accessibility & contrast

On white

5.80
#AC2F99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#AC2F99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2F99
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2F99#FFFFFF#000000##FFFFFF
##AC2F991.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5A9C
Deuteranopia (green-blind)
#5A6C96
Tritanopia (blue-blind)
#B43961
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ac2f99;
/* rgb */ color: rgb(172, 47, 153);
/* oklch */ color: oklch(53.4% 0.197 334.9);
Tailwind
colors: {
  custom: {
    50: '#c874b7',
    500: '#ac2f99',
    950: '#000000',
  },
}
SCSS
$custom: #ac2f99;
$custom-light: #c874b7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2f99",
  "rgb": {
    "r": 172,
    "g": 47,
    "b": 153
  },
  "hsl": {
    "h": 309.12,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.53392,
    "c": 0.19662,
    "h": 334.9
  },
  "luminance": 0.13104
}

Semantic roles & 50–950 ramp

primary
#AC2F99
secondary
#74C380
accent
#E05F47
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AC2F99

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

Preview Lab → · Contrast checker → · Palette generator →

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