#AC279B#AC279B

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

Color values

HEX#AC279B
RGBrgb(172, 39, 155)
HSLhsl(308, 63%, 41%)
HSVhsv(308, 77%, 67%)
CMYKcmyk(0%, 77.3%, 9.9%, 32.5%)
CIE-LABlab(42.14, 63.91, -32.99)
CIE-LCHlch(42.14, 71.92, 332.70°)
OKLaboklab(52.86% 0.1856 -0.0904)
OKLCHoklch(52.86% 0.206 334)
XYZxyz(23.6554, 12.5903, 32.1883)
Luminance0.1259 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC279B #27AC38
analogous
#7B27AC #AC279B #AC2759
triadic
#AC279B #9BAC27 #279BAC
tetradic
#AC279B #AC7B27 #27AC38 #2759AC
square
#AC279B #AC7B27 #27AC38 #2759AC
split-complementary
#AC279B #59AC27 #27AC7B
monochromatic
#481041 #7A1C6E #AC279B #D33DC0 #DE6FD0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AC279B#FFFFFF#000000##FFFFFF
##AC279B1.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)
#23579E
Deuteranopia (green-blind)
#576A98
Tritanopia (blue-blind)
#B4345F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ac279b;
/* rgb */ color: rgb(172, 39, 155);
/* oklch */ color: oklch(52.9% 0.206 334.0);
Tailwind
colors: {
  custom: {
    50: '#c971b9',
    500: '#ac279b',
    950: '#000000',
  },
}
SCSS
$custom: #ac279b;
$custom-light: #c971b9;
$custom-dark: #000000;
JSON
{
  "hex": "#ac279b",
  "rgb": {
    "r": 172,
    "g": 39,
    "b": 155
  },
  "hsl": {
    "h": 307.669,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52862,
    "c": 0.20645,
    "h": 334
  },
  "luminance": 0.12588
}

Semantic roles & 50–950 ramp

primary
#AC279B
secondary
#6AC575
accent
#E65742
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AC279B

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

Preview Lab → · Contrast checker → · Palette generator →

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