#AC2F78#AC2F78

#AC2F78 is a mid, vivid pink. Relative luminance 0.122; OKLCH L 51.9% C 0.176 H 349.1°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#AC2F78
RGBrgb(172, 47, 120)
HSLhsl(325, 57%, 43%)
HSVhsv(325, 73%, 67%)
CMYKcmyk(0%, 72.7%, 30.2%, 32.5%)
CIE-LABlab(41.47, 56.55, -12.64)
CIE-LCHlch(41.47, 57.95, 347.40°)
OKLaboklab(51.87% 0.1724 -0.0331)
OKLCHoklch(51.87% 0.176 349.1)
XYZxyz(21.4210, 12.1622, 18.9851)
Luminance0.1216 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2F78 #2FAC63
analogous
#A12FAC #AC2F78 #AC2F39
triadic
#AC2F78 #78AC2F #2F78AC
tetradic
#AC2F78 #ACA12F #2FAC63 #2F39AC
square
#AC2F78 #ACA12F #2FAC63 #2F39AC
split-complementary
#AC2F78 #39AC2F #2FACA1
monochromatic
#4C1535 #7C2256 #AC2F78 #CE4B97 #DB7BB3

Accessibility & contrast

On white

6.12
#AC2F78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#AC2F78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2F78
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2F78#FFFFFF#000000##FFFFFF
##AC2F781.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42547A
Deuteranopia (green-blind)
#666A75
Tritanopia (blue-blind)
#B8294F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ac2f78;
/* rgb */ color: rgb(172, 47, 120);
/* oklch */ color: oklch(51.9% 0.176 349.1);
Tailwind
colors: {
  custom: {
    50: '#c9739f',
    500: '#ac2f78',
    950: '#000000',
  },
}
SCSS
$custom: #ac2f78;
$custom-light: #c9739f;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2f78",
  "rgb": {
    "r": 172,
    "g": 47,
    "b": 120
  },
  "hsl": {
    "h": 324.96,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51866,
    "c": 0.17558,
    "h": 349.1
  },
  "luminance": 0.1216
}

Semantic roles & 50–950 ramp

primary
#AC2F78
secondary
#74C395
accent
#E08747
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AC2F78

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

Preview Lab → · Contrast checker → · Palette generator →

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