#AC2F7E#AC2F7E

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

Color values

HEX#AC2F7E
RGBrgb(172, 47, 126)
HSLhsl(322, 57%, 43%)
HSVhsv(322, 73%, 67%)
CMYKcmyk(0%, 72.7%, 26.7%, 32.5%)
CIE-LABlab(41.71, 57.30, -15.99)
CIE-LCHlch(41.71, 59.49, 344.41°)
OKLaboklab(52.12% 0.1738 -0.0423)
OKLCHoklch(52.12% 0.179 346.3)
XYZxyz(21.7966, 12.3124, 20.9633)
Luminance0.1231 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2F7E #2FAC5D
analogous
#9B2FAC #AC2F7E #AC2F3F
triadic
#AC2F7E #7EAC2F #2F7EAC
tetradic
#AC2F7E #AC9B2F #2FAC5D #2F3FAC
square
#AC2F7E #AC9B2F #2FAC5D #2F3FAC
split-complementary
#AC2F7E #3FAC2F #2FAC9B
monochromatic
#4C1538 #7C225B #AC2F7E #CE4B9D #DB7BB7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AC2F7E#FFFFFF#000000##FFFFFF
##AC2F7E1.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)
#3F5580
Deuteranopia (green-blind)
#646A7B
Tritanopia (blue-blind)
#B82C52
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ac2f7e;
/* rgb */ color: rgb(172, 47, 126);
/* oklch */ color: oklch(52.1% 0.179 346.3);
Tailwind
colors: {
  custom: {
    50: '#c973a3',
    500: '#ac2f7e',
    950: '#000000',
  },
}
SCSS
$custom: #ac2f7e;
$custom-light: #c973a3;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2f7e",
  "rgb": {
    "r": 172,
    "g": 47,
    "b": 126
  },
  "hsl": {
    "h": 322.08,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52115,
    "c": 0.17892,
    "h": 346.3
  },
  "luminance": 0.1231
}

Semantic roles & 50–950 ramp

primary
#AC2F7E
secondary
#74C391
accent
#E08047
background
#FCF7FA
surface
#F9EDF3
border
#D2C8CD
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AC2F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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