#AC2F82#AC2F82

#AC2F82 is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.3% C 0.181 H 344.5°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#AC2F82
RGBrgb(172, 47, 130)
HSLhsl(320, 57%, 43%)
HSVhsv(320, 73%, 67%)
CMYKcmyk(0%, 72.7%, 24.4%, 32.5%)
CIE-LABlab(41.87, 57.82, -18.20)
CIE-LCHlch(41.87, 60.62, 342.53°)
OKLaboklab(52.29% 0.1747 -0.0485)
OKLCHoklch(52.29% 0.181 344.5)
XYZxyz(22.0599, 12.4177, 22.3499)
Luminance0.1241 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2F82 #2FAC59
analogous
#972FAC #AC2F82 #AC2F43
triadic
#AC2F82 #82AC2F #2F82AC
tetradic
#AC2F82 #AC972F #2FAC59 #2F43AC
square
#AC2F82 #AC972F #2FAC59 #2F43AC
split-complementary
#AC2F82 #43AC2F #2FAC97
monochromatic
#4C1539 #7C225E #AC2F82 #CE4BA2 #DB7BBA

Accessibility & contrast

On white

6.03
#AC2F82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#AC2F82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2F82
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2F82#FFFFFF#000000##FFFFFF
##AC2F821.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5584
Deuteranopia (green-blind)
#636A7F
Tritanopia (blue-blind)
#B72E54
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ac2f82;
/* rgb */ color: rgb(172, 47, 130);
/* oklch */ color: oklch(52.3% 0.181 344.5);
Tailwind
colors: {
  custom: {
    50: '#c973a6',
    500: '#ac2f82',
    950: '#000000',
  },
}
SCSS
$custom: #ac2f82;
$custom-light: #c973a6;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2f82",
  "rgb": {
    "r": 172,
    "g": 47,
    "b": 130
  },
  "hsl": {
    "h": 320.16,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52289,
    "c": 0.18128,
    "h": 344.5
  },
  "luminance": 0.12415
}

Semantic roles & 50–950 ramp

primary
#AC2F82
secondary
#74C38E
accent
#E07B47
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AC2F82

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

Preview Lab → · Contrast checker → · Palette generator →

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