#AC2899#AC2899

#AC2899 is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 52.8% C 0.204 H 334.8°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#AC2899
RGBrgb(172, 40, 153)
HSLhsl(309, 62%, 42%)
HSVhsv(309, 77%, 67%)
CMYKcmyk(0%, 76.7%, 11%, 32.5%)
CIE-LABlab(42.14, 63.32, -31.79)
CIE-LCHlch(42.14, 70.85, 333.34°)
OKLaboklab(52.83% 0.1846 -0.087)
OKLCHoklch(52.83% 0.204 334.8)
XYZxyz(23.5221, 12.5903, 31.3222)
Luminance0.1259 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2899 #28AC3B
analogous
#7D28AC #AC2899 #AC2857
triadic
#AC2899 #99AC28 #2899AC
tetradic
#AC2899 #AC7D28 #28AC3B #2857AC
square
#AC2899 #AC7D28 #28AC3B #2857AC
split-complementary
#AC2899 #57AC28 #28AC7D
monochromatic
#491141 #7A1C6D #AC2899 #D23FBD #DE71CE

Accessibility & contrast

On white

5.97
#AC2899 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#AC2899 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2899
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2899#FFFFFF#000000##FFFFFF
##AC28991.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27579C
Deuteranopia (green-blind)
#586A96
Tritanopia (blue-blind)
#B5345F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ac2899;
/* rgb */ color: rgb(172, 40, 153);
/* oklch */ color: oklch(52.8% 0.204 334.8);
Tailwind
colors: {
  custom: {
    50: '#c971b7',
    500: '#ac2899',
    950: '#000000',
  },
}
SCSS
$custom: #ac2899;
$custom-light: #c971b7;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2899",
  "rgb": {
    "r": 172,
    "g": 40,
    "b": 153
  },
  "hsl": {
    "h": 308.636,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52828,
    "c": 0.20407,
    "h": 334.8
  },
  "luminance": 0.12588
}

Semantic roles & 50–950 ramp

primary
#AC2899
secondary
#6BC578
accent
#E55A42
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AC2899

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

Preview Lab → · Contrast checker → · Palette generator →

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