#AC2A7E#AC2A7E

#AC2A7E is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.7% C 0.185 H 345.9°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#AC2A7E
RGBrgb(172, 42, 126)
HSLhsl(321, 61%, 42%)
HSVhsv(321, 76%, 67%)
CMYKcmyk(0%, 75.6%, 26.7%, 32.5%)
CIE-LABlab(41.11, 58.98, -16.90)
CIE-LCHlch(41.11, 61.36, 344.01°)
OKLaboklab(51.68% 0.179 -0.0448)
OKLCHoklch(51.68% 0.185 345.9)
XYZxyz(21.6081, 11.9353, 20.9004)
Luminance0.1193 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2A7E #2AAC58
analogous
#992AAC #AC2A7E #AC2A3D
triadic
#AC2A7E #7EAC2A #2A7EAC
tetradic
#AC2A7E #AC992A #2AAC58 #2A3DAC
square
#AC2A7E #AC992A #2AAC58 #2A3DAC
split-complementary
#AC2A7E #3DAC2A #2AAC99
monochromatic
#4A1236 #7B1E5A #AC2A7E #D1429E #DD73B8

Accessibility & contrast

On white

6.20
#AC2A7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#AC2A7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2A7E
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2A7E#FFFFFF#000000##FFFFFF
##AC2A7E1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5380
Deuteranopia (green-blind)
#63697B
Tritanopia (blue-blind)
#B82751
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ac2a7e;
/* rgb */ color: rgb(172, 42, 126);
/* oklch */ color: oklch(51.7% 0.185 345.9);
Tailwind
colors: {
  custom: {
    50: '#c971a3',
    500: '#ac2a7e',
    950: '#000000',
  },
}
SCSS
$custom: #ac2a7e;
$custom-light: #c971a3;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2a7e",
  "rgb": {
    "r": 172,
    "g": 42,
    "b": 126
  },
  "hsl": {
    "h": 321.231,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51682,
    "c": 0.18458,
    "h": 345.9
  },
  "luminance": 0.11933
}

Semantic roles & 50–950 ramp

primary
#AC2A7E
secondary
#6DC48C
accent
#E47D44
background
#FCF7FA
surface
#F9EDF3
border
#D2C8CD
text
#14080F
muted
#827B7F

Preview Lab

Preview with #AC2A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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