#AC2B97#AC2B97

#AC2B97 is a mid, vivid purple. Relative luminance 0.127; OKLCH L 53.0% C 0.200 H 335.6°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#AC2B97
RGBrgb(172, 43, 151)
HSLhsl(310, 60%, 42%)
HSVhsv(310, 75%, 67%)
CMYKcmyk(0%, 75%, 12.2%, 32.5%)
CIE-LABlab(42.36, 62.10, -30.23)
CIE-LCHlch(42.36, 69.07, 334.04°)
OKLaboklab(52.96% 0.1817 -0.0825)
OKLCHoklch(52.96% 0.2 335.6)
XYZxyz(23.4634, 12.7349, 30.4945)
Luminance0.1273 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2B97 #2BAC40
analogous
#802BAC #AC2B97 #AC2B57
triadic
#AC2B97 #97AC2B #2B97AC
tetradic
#AC2B97 #AC802B #2BAC40 #2B57AC
square
#AC2B97 #AC802B #2BAC40 #2B57AC
split-complementary
#AC2B97 #57AC2B #2BAC80
monochromatic
#4A1341 #7B1F6C #AC2B97 #D044B9 #DC75CC

Accessibility & contrast

On white

5.92
#AC2B97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#AC2B97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2B97
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2B97#FFFFFF#000000##FFFFFF
##AC2B971.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C589A
Deuteranopia (green-blind)
#5A6B94
Tritanopia (blue-blind)
#B5355E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac2b97;
/* rgb */ color: rgb(172, 43, 151);
/* oklch */ color: oklch(53.0% 0.200 335.6);
Tailwind
colors: {
  custom: {
    50: '#c972b6',
    500: '#ac2b97',
    950: '#000000',
  },
}
SCSS
$custom: #ac2b97;
$custom-light: #c972b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2b97",
  "rgb": {
    "r": 172,
    "g": 43,
    "b": 151
  },
  "hsl": {
    "h": 309.767,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52955,
    "c": 0.1996,
    "h": 335.6
  },
  "luminance": 0.12733
}

Semantic roles & 50–950 ramp

primary
#AC2B97
secondary
#6FC47D
accent
#E35E45
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AC2B97

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

Preview Lab → · Contrast checker → · Palette generator →

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