#AC278F#AC278F

#AC278F is a mid, vivid pink. Relative luminance 0.122; OKLCH L 52.2% C 0.198 H 338.6°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#AC278F
RGBrgb(172, 39, 143)
HSLhsl(313, 63%, 41%)
HSVhsv(313, 77%, 67%)
CMYKcmyk(0%, 77.3%, 16.9%, 32.5%)
CIE-LABlab(41.54, 62.17, -26.66)
CIE-LCHlch(41.54, 67.65, 336.79°)
OKLaboklab(52.24% 0.1846 -0.0723)
OKLCHoklch(52.24% 0.198 338.6)
XYZxyz(22.6973, 12.2071, 27.1421)
Luminance0.1221 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC278F #27AC44
analogous
#8727AC #AC278F #AC274D
triadic
#AC278F #8FAC27 #278FAC
tetradic
#AC278F #AC8727 #27AC44 #274DAC
square
#AC278F #AC8727 #27AC44 #274DAC
split-complementary
#AC278F #4DAC27 #27AC87
monochromatic
#48103C #7A1C66 #AC278F #D33DB2 #DE6FC6

Accessibility & contrast

On white

6.10
#AC278F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#AC278F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC278F
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC278F#FFFFFF#000000##FFFFFF
##AC278F1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5592
Deuteranopia (green-blind)
#5C698C
Tritanopia (blue-blind)
#B62E59
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ac278f;
/* rgb */ color: rgb(172, 39, 143);
/* oklch */ color: oklch(52.2% 0.198 338.6);
Tailwind
colors: {
  custom: {
    50: '#c970b0',
    500: '#ac278f',
    950: '#000000',
  },
}
SCSS
$custom: #ac278f;
$custom-light: #c970b0;
$custom-dark: #000000;
JSON
{
  "hex": "#ac278f",
  "rgb": {
    "r": 172,
    "g": 39,
    "b": 143
  },
  "hsl": {
    "h": 313.083,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.5224,
    "c": 0.19825,
    "h": 338.6
  },
  "luminance": 0.12205
}

Semantic roles & 50–950 ramp

primary
#AC278F
secondary
#6AC57E
accent
#E66642
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AC278F

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

Preview Lab → · Contrast checker → · Palette generator →

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