#AC2F7F#AC2F7F

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

Color values

HEX#AC2F7F
RGBrgb(172, 47, 127)
HSLhsl(322, 57%, 43%)
HSVhsv(322, 73%, 67%)
CMYKcmyk(0%, 72.7%, 26.2%, 32.5%)
CIE-LABlab(41.75, 57.43, -16.54)
CIE-LCHlch(41.75, 59.77, 343.93°)
OKLaboklab(52.16% 0.1741 -0.0439)
OKLCHoklch(52.16% 0.18 345.9)
XYZxyz(21.8615, 12.3383, 21.3048)
Luminance0.1234 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2F7F #2FAC5C
analogous
#9A2FAC #AC2F7F #AC2F40
triadic
#AC2F7F #7FAC2F #2F7FAC
tetradic
#AC2F7F #AC9A2F #2FAC5C #2F40AC
square
#AC2F7F #AC9A2F #2FAC5C #2F40AC
split-complementary
#AC2F7F #40AC2F #2FAC9A
monochromatic
#4C1538 #7C225C #AC2F7F #CE4B9E #DB7BB8

Accessibility & contrast

On white

6.06
#AC2F7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#AC2F7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2F7F
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2F7F#FFFFFF#000000##FFFFFF
##AC2F7F1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5581
Deuteranopia (green-blind)
#646A7C
Tritanopia (blue-blind)
#B82C53
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ac2f7f;
/* rgb */ color: rgb(172, 47, 127);
/* oklch */ color: oklch(52.2% 0.179 345.9);
Tailwind
colors: {
  custom: {
    50: '#c973a4',
    500: '#ac2f7f',
    950: '#000000',
  },
}
SCSS
$custom: #ac2f7f;
$custom-light: #c973a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2f7f",
  "rgb": {
    "r": 172,
    "g": 47,
    "b": 127
  },
  "hsl": {
    "h": 321.6,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52158,
    "c": 0.1795,
    "h": 345.9
  },
  "luminance": 0.12336
}

Semantic roles & 50–950 ramp

primary
#AC2F7F
secondary
#74C390
accent
#E07E47
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AC2F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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