#AC299B#AC299B

#AC299B is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.0% C 0.204 H 334.0°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#AC299B
RGBrgb(172, 41, 155)
HSLhsl(308, 62%, 42%)
HSVhsv(308, 76%, 67%)
CMYKcmyk(0%, 76.2%, 9.9%, 32.5%)
CIE-LABlab(42.35, 63.32, -32.67)
CIE-LCHlch(42.35, 71.25, 332.71°)
OKLaboklab(53.01% 0.1838 -0.0895)
OKLCHoklch(53.01% 0.204 334)
XYZxyz(23.7228, 12.7252, 32.2108)
Luminance0.1272 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC299B #29AC3A
analogous
#7C29AC #AC299B #AC295A
triadic
#AC299B #9BAC29 #299BAC
tetradic
#AC299B #AC7C29 #29AC3A #295AAC
square
#AC299B #AC7C29 #29AC3A #295AAC
split-complementary
#AC299B #5AAC29 #29AC7C
monochromatic
#491142 #7B1D6E #AC299B #D241BF #DD72CF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AC299B#FFFFFF#000000##FFFFFF
##AC299B1.005.923.545.92
#FFFFFF5.921.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26589E
Deuteranopia (green-blind)
#576B98
Tritanopia (blue-blind)
#B43660
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac299b;
/* rgb */ color: rgb(172, 41, 155);
/* oklch */ color: oklch(53.0% 0.204 334.0);
Tailwind
colors: {
  custom: {
    50: '#c971b9',
    500: '#ac299b',
    950: '#000000',
  },
}
SCSS
$custom: #ac299b;
$custom-light: #c971b9;
$custom-dark: #000000;
JSON
{
  "hex": "#ac299b",
  "rgb": {
    "r": 172,
    "g": 41,
    "b": 155
  },
  "hsl": {
    "h": 307.786,
    "s": 61.502,
    "l": 41.765
  },
  "oklch": {
    "l": 0.5301,
    "c": 0.20448,
    "h": 334
  },
  "luminance": 0.12723
}

Semantic roles & 50–950 ramp

primary
#AC299B
secondary
#6CC578
accent
#E55843
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AC299B

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

Preview Lab → · Contrast checker → · Palette generator →

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