#AC2F71#AC2F71

#AC2F71 is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.6% C 0.172 H 352.5°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#AC2F71
RGBrgb(172, 47, 113)
HSLhsl(328, 57%, 43%)
HSVhsv(328, 73%, 67%)
CMYKcmyk(0%, 72.7%, 34.3%, 32.5%)
CIE-LABlab(41.21, 55.72, -8.69)
CIE-LCHlch(41.21, 56.39, 351.14°)
OKLaboklab(51.59% 0.1706 -0.0223)
OKLCHoklch(51.59% 0.172 352.5)
XYZxyz(21.0116, 11.9984, 16.8290)
Luminance0.1200 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2F71 #2FAC6A
analogous
#A82FAC #AC2F71 #AC2F32
triadic
#AC2F71 #71AC2F #2F71AC
tetradic
#AC2F71 #ACA82F #2FAC6A #2F32AC
square
#AC2F71 #ACA82F #2FAC6A #2F32AC
split-complementary
#AC2F71 #32AC2F #2FACA8
monochromatic
#4C1532 #7C2251 #AC2F71 #CE4B90 #DB7BAD

Accessibility & contrast

On white

6.18
#AC2F71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#AC2F71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2F71
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2F71#FFFFFF#000000##FFFFFF
##AC2F711.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455373
Deuteranopia (green-blind)
#68696E
Tritanopia (blue-blind)
#B9254C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ac2f71;
/* rgb */ color: rgb(172, 47, 113);
/* oklch */ color: oklch(51.6% 0.172 352.5);
Tailwind
colors: {
  custom: {
    50: '#c97299',
    500: '#ac2f71',
    950: '#000000',
  },
}
SCSS
$custom: #ac2f71;
$custom-light: #c97299;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2f71",
  "rgb": {
    "r": 172,
    "g": 47,
    "b": 113
  },
  "hsl": {
    "h": 328.32,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51592,
    "c": 0.17203,
    "h": 352.5
  },
  "luminance": 0.11996
}

Semantic roles & 50–950 ramp

primary
#AC2F71
secondary
#74C399
accent
#E09047
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090E
muted
#827B7E

Preview Lab

Preview with #AC2F71

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

Preview Lab → · Contrast checker → · Palette generator →

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