#AC2F7D#AC2F7D

#AC2F7D is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.1% C 0.178 H 346.8°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#AC2F7D
RGBrgb(172, 47, 125)
HSLhsl(323, 57%, 43%)
HSVhsv(323, 73%, 67%)
CMYKcmyk(0%, 72.7%, 27.3%, 32.5%)
CIE-LABlab(41.67, 57.18, -15.43)
CIE-LCHlch(41.67, 59.22, 344.89°)
OKLaboklab(52.07% 0.1736 -0.0408)
OKLCHoklch(52.07% 0.178 346.8)
XYZxyz(21.7324, 12.2867, 20.6251)
Luminance0.1228 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2F7D #2FAC5E
analogous
#9C2FAC #AC2F7D #AC2F3E
triadic
#AC2F7D #7DAC2F #2F7DAC
tetradic
#AC2F7D #AC9C2F #2FAC5E #2F3EAC
square
#AC2F7D #AC9C2F #2FAC5E #2F3EAC
split-complementary
#AC2F7D #3EAC2F #2FAC9C
monochromatic
#4C1537 #7C225A #AC2F7D #CE4B9C #DB7BB7

Accessibility & contrast

On white

6.07
#AC2F7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#AC2F7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2F7D
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2F7D#FFFFFF#000000##FFFFFF
##AC2F7D1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40557F
Deuteranopia (green-blind)
#656A7A
Tritanopia (blue-blind)
#B82B52
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ac2f7d;
/* rgb */ color: rgb(172, 47, 125);
/* oklch */ color: oklch(52.1% 0.178 346.8);
Tailwind
colors: {
  custom: {
    50: '#c973a2',
    500: '#ac2f7d',
    950: '#000000',
  },
}
SCSS
$custom: #ac2f7d;
$custom-light: #c973a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2f7d",
  "rgb": {
    "r": 172,
    "g": 47,
    "b": 125
  },
  "hsl": {
    "h": 322.56,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52073,
    "c": 0.17834,
    "h": 346.8
  },
  "luminance": 0.12284
}

Semantic roles & 50–950 ramp

primary
#AC2F7D
secondary
#74C392
accent
#E08147
background
#FCF7FA
surface
#F9EDF3
border
#D2C8CD
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AC2F7D

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

Preview Lab → · Contrast checker → · Palette generator →

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