#AC2F77#AC2F77

#AC2F77 is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.8% C 0.175 H 349.6°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#AC2F77
RGBrgb(172, 47, 119)
HSLhsl(325, 57%, 43%)
HSVhsv(325, 73%, 67%)
CMYKcmyk(0%, 72.7%, 30.8%, 32.5%)
CIE-LABlab(41.43, 56.43, -12.08)
CIE-LCHlch(41.43, 57.71, 347.92°)
OKLaboklab(51.83% 0.1722 -0.0316)
OKLCHoklch(51.83% 0.175 349.6)
XYZxyz(21.3607, 12.1380, 18.6672)
Luminance0.1214 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2F77 #2FAC64
analogous
#A22FAC #AC2F77 #AC2F38
triadic
#AC2F77 #77AC2F #2F77AC
tetradic
#AC2F77 #ACA22F #2FAC64 #2F38AC
square
#AC2F77 #ACA22F #2FAC64 #2F38AC
split-complementary
#AC2F77 #38AC2F #2FACA2
monochromatic
#4C1534 #7C2256 #AC2F77 #CE4B96 #DB7BB2

Accessibility & contrast

On white

6.13
#AC2F77 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AC2F77
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2F77#FFFFFF#000000##FFFFFF
##AC2F771.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425479
Deuteranopia (green-blind)
#666A74
Tritanopia (blue-blind)
#B9284F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ac2f77;
/* rgb */ color: rgb(172, 47, 119);
/* oklch */ color: oklch(51.8% 0.175 349.6);
Tailwind
colors: {
  custom: {
    50: '#c9739e',
    500: '#ac2f77',
    950: '#000000',
  },
}
SCSS
$custom: #ac2f77;
$custom-light: #c9739e;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2f77",
  "rgb": {
    "r": 172,
    "g": 47,
    "b": 119
  },
  "hsl": {
    "h": 325.44,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51826,
    "c": 0.17505,
    "h": 349.6
  },
  "luminance": 0.12136
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC2F77

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

Preview Lab → · Contrast checker → · Palette generator →

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