#AC2F89#AC2F89

#AC2F89 is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.6% C 0.186 H 341.4°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#AC2F89
RGBrgb(172, 47, 137)
HSLhsl(317, 57%, 43%)
HSVhsv(317, 73%, 67%)
CMYKcmyk(0%, 72.7%, 20.3%, 32.5%)
CIE-LABlab(42.17, 58.77, -22.02)
CIE-LCHlch(42.17, 62.76, 339.46°)
OKLaboklab(52.61% 0.176 -0.0592)
OKLCHoklch(52.61% 0.186 341.4)
XYZxyz(22.5458, 12.6121, 24.9091)
Luminance0.1261 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2F89 #2FAC52
analogous
#902FAC #AC2F89 #AC2F4A
triadic
#AC2F89 #89AC2F #2F89AC
tetradic
#AC2F89 #AC902F #2FAC52 #2F4AAC
square
#AC2F89 #AC902F #2FAC52 #2F4AAC
split-complementary
#AC2F89 #4AAC2F #2FAC90
monochromatic
#4C153C #7C2263 #AC2F89 #CE4BA9 #DB7BC0

Accessibility & contrast

On white

5.96
#AC2F89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#AC2F89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2F89
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2F89#FFFFFF#000000##FFFFFF
##AC2F891.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39578B
Deuteranopia (green-blind)
#616B86
Tritanopia (blue-blind)
#B73158
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ac2f89;
/* rgb */ color: rgb(172, 47, 137);
/* oklch */ color: oklch(52.6% 0.186 341.4);
Tailwind
colors: {
  custom: {
    50: '#c973ab',
    500: '#ac2f89',
    950: '#000000',
  },
}
SCSS
$custom: #ac2f89;
$custom-light: #c973ab;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2f89",
  "rgb": {
    "r": 172,
    "g": 47,
    "b": 137
  },
  "hsl": {
    "h": 316.8,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52605,
    "c": 0.18566,
    "h": 341.4
  },
  "luminance": 0.1261
}

Semantic roles & 50–950 ramp

primary
#AC2F89
secondary
#74C38A
accent
#E07247
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AC2F89

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

Preview Lab → · Contrast checker → · Palette generator →

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