#AC2A7D#AC2A7D

#AC2A7D is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.6% C 0.184 H 346.4°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#AC2A7D
RGBrgb(172, 42, 125)
HSLhsl(322, 61%, 42%)
HSVhsv(322, 76%, 67%)
CMYKcmyk(0%, 75.6%, 27.3%, 32.5%)
CIE-LABlab(41.07, 58.86, -16.34)
CIE-LCHlch(41.07, 61.09, 344.48°)
OKLaboklab(51.64% 0.1788 -0.0433)
OKLCHoklch(51.64% 0.184 346.4)
XYZxyz(21.5439, 11.9096, 20.5623)
Luminance0.1191 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2A7D #2AAC59
analogous
#9A2AAC #AC2A7D #AC2A3C
triadic
#AC2A7D #7DAC2A #2A7DAC
tetradic
#AC2A7D #AC9A2A #2AAC59 #2A3CAC
square
#AC2A7D #AC9A2A #2AAC59 #2A3CAC
split-complementary
#AC2A7D #3CAC2A #2AAC9A
monochromatic
#4A1236 #7B1E59 #AC2A7D #D1429D #DD73B7

Accessibility & contrast

On white

6.21
#AC2A7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#AC2A7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2A7D
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2A7D#FFFFFF#000000##FFFFFF
##AC2A7D1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C537F
Deuteranopia (green-blind)
#63697A
Tritanopia (blue-blind)
#B82650
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ac2a7d;
/* rgb */ color: rgb(172, 42, 125);
/* oklch */ color: oklch(51.6% 0.184 346.4);
Tailwind
colors: {
  custom: {
    50: '#c971a2',
    500: '#ac2a7d',
    950: '#000000',
  },
}
SCSS
$custom: #ac2a7d;
$custom-light: #c971a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2a7d",
  "rgb": {
    "r": 172,
    "g": 42,
    "b": 125
  },
  "hsl": {
    "h": 321.692,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51639,
    "c": 0.184,
    "h": 346.4
  },
  "luminance": 0.11907
}

Semantic roles & 50–950 ramp

primary
#AC2A7D
secondary
#6DC48D
accent
#E47E44
background
#FCF7FA
surface
#F9EDF3
border
#D2C8CD
text
#14080F
muted
#827B7F

Preview Lab

Preview with #AC2A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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