#AC278B#AC278B

#AC278B is a mid, vivid pink. Relative luminance 0.121; OKLCH L 52.0% C 0.196 H 340.2°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#AC278B
RGBrgb(172, 39, 139)
HSLhsl(315, 63%, 41%)
HSVhsv(315, 77%, 67%)
CMYKcmyk(0%, 77.3%, 19.2%, 32.5%)
CIE-LABlab(41.36, 61.62, -24.51)
CIE-LCHlch(41.36, 66.32, 338.31°)
OKLaboklab(52.04% 0.1841 -0.0662)
OKLCHoklch(52.04% 0.196 340.2)
XYZxyz(22.3996, 12.0880, 25.5747)
Luminance0.1209 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC278B #27AC48
analogous
#8B27AC #AC278B #AC2749
triadic
#AC278B #8BAC27 #278BAC
tetradic
#AC278B #AC8B27 #27AC48 #2749AC
square
#AC278B #AC8B27 #27AC48 #2749AC
split-complementary
#AC278B #49AC27 #27AC8B
monochromatic
#48103A #7A1C63 #AC278B #D33DAE #DE6FC3

Accessibility & contrast

On white

6.15
#AC278B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#AC278B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC278B
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC278B#FFFFFF#000000##FFFFFF
##AC278B1.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31548E
Deuteranopia (green-blind)
#5D6988
Tritanopia (blue-blind)
#B62B57
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ac278b;
/* rgb */ color: rgb(172, 39, 139);
/* oklch */ color: oklch(52.0% 0.196 340.2);
Tailwind
colors: {
  custom: {
    50: '#c970ad',
    500: '#ac278b',
    950: '#000000',
  },
}
SCSS
$custom: #ac278b;
$custom-light: #c970ad;
$custom-dark: #000000;
JSON
{
  "hex": "#ac278b",
  "rgb": {
    "r": 172,
    "g": 39,
    "b": 139
  },
  "hsl": {
    "h": 314.887,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52043,
    "c": 0.19565,
    "h": 340.2
  },
  "luminance": 0.12086
}

Semantic roles & 50–950 ramp

primary
#AC278B
secondary
#6AC580
accent
#E66B42
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AC278B

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

Preview Lab → · Contrast checker → · Palette generator →

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