#AC279F#AC279F

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

Color values

HEX#AC279F
RGBrgb(172, 39, 159)
HSLhsl(306, 63%, 41%)
HSVhsv(306, 77%, 67%)
CMYKcmyk(0%, 77.3%, 7.6%, 32.5%)
CIE-LABlab(42.35, 64.51, -35.07)
CIE-LCHlch(42.35, 73.43, 331.47°)
OKLaboklab(53.08% 0.1858 -0.0964)
OKLCHoklch(53.08% 0.209 332.6)
XYZxyz(23.9969, 12.7269, 33.9869)
Luminance0.1273 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC279F #27AC34
analogous
#7727AC #AC279F #AC275D
triadic
#AC279F #9FAC27 #279FAC
tetradic
#AC279F #AC7727 #27AC34 #275DAC
square
#AC279F #AC7727 #27AC34 #275DAC
split-complementary
#AC279F #5DAC27 #27AC77
monochromatic
#481043 #7A1C71 #AC279F #D33DC4 #DE6FD3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AC279F#FFFFFF#000000##FFFFFF
##AC279F1.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)
#1E58A2
Deuteranopia (green-blind)
#556B9C
Tritanopia (blue-blind)
#B43762
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac279f;
/* rgb */ color: rgb(172, 39, 159);
/* oklch */ color: oklch(53.1% 0.209 332.6);
Tailwind
colors: {
  custom: {
    50: '#c971bc',
    500: '#ac279f',
    950: '#000000',
  },
}
SCSS
$custom: #ac279f;
$custom-light: #c971bc;
$custom-dark: #000000;
JSON
{
  "hex": "#ac279f",
  "rgb": {
    "r": 172,
    "g": 39,
    "b": 159
  },
  "hsl": {
    "h": 305.865,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.5308,
    "c": 0.2093,
    "h": 332.6
  },
  "luminance": 0.12725
}

Semantic roles & 50–950 ramp

primary
#AC279F
secondary
#6AC573
accent
#E65242
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AC279F

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

Preview Lab → · Contrast checker → · Palette generator →

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