#AC2F85#AC2F85

#AC2F85 is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.4% C 0.183 H 343.1°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#AC2F85
RGBrgb(172, 47, 133)
HSLhsl(319, 57%, 43%)
HSVhsv(319, 73%, 67%)
CMYKcmyk(0%, 72.7%, 22.7%, 32.5%)
CIE-LABlab(42.00, 58.22, -19.84)
CIE-LCHlch(42.00, 61.51, 341.18°)
OKLaboklab(52.42% 0.1753 -0.0531)
OKLCHoklch(52.42% 0.183 343.1)
XYZxyz(22.2642, 12.4994, 23.4259)
Luminance0.1250 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2F85 #2FAC56
analogous
#942FAC #AC2F85 #AC2F46
triadic
#AC2F85 #85AC2F #2F85AC
tetradic
#AC2F85 #AC942F #2FAC56 #2F46AC
square
#AC2F85 #AC942F #2FAC56 #2F46AC
split-complementary
#AC2F85 #46AC2F #2FAC94
monochromatic
#4C153B #7C2260 #AC2F85 #CE4BA5 #DB7BBD

Accessibility & contrast

On white

6.00
#AC2F85 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#AC2F85 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2F85
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2F85#FFFFFF#000000##FFFFFF
##AC2F851.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5687
Deuteranopia (green-blind)
#626B82
Tritanopia (blue-blind)
#B72F56
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ac2f85;
/* rgb */ color: rgb(172, 47, 133);
/* oklch */ color: oklch(52.4% 0.183 343.1);
Tailwind
colors: {
  custom: {
    50: '#c973a8',
    500: '#ac2f85',
    950: '#000000',
  },
}
SCSS
$custom: #ac2f85;
$custom-light: #c973a8;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2f85",
  "rgb": {
    "r": 172,
    "g": 47,
    "b": 133
  },
  "hsl": {
    "h": 318.72,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52422,
    "c": 0.18312,
    "h": 343.1
  },
  "luminance": 0.12497
}

Semantic roles & 50–950 ramp

primary
#AC2F85
secondary
#74C38C
accent
#E07747
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AC2F85

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

Preview Lab → · Contrast checker → · Palette generator →

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