#AC2F7B#AC2F7B

#AC2F7B is a mid, vivid pink. Relative luminance 0.122; OKLCH L 52.0% C 0.177 H 347.7°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#AC2F7B
RGBrgb(172, 47, 123)
HSLhsl(324, 57%, 43%)
HSVhsv(324, 73%, 67%)
CMYKcmyk(0%, 72.7%, 28.5%, 32.5%)
CIE-LABlab(41.59, 56.92, -14.32)
CIE-LCHlch(41.59, 58.70, 345.88°)
OKLaboklab(51.99% 0.1732 -0.0377)
OKLCHoklch(51.99% 0.177 347.7)
XYZxyz(21.6059, 12.2361, 19.9590)
Luminance0.1223 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2F7B #2FAC60
analogous
#9E2FAC #AC2F7B #AC2F3C
triadic
#AC2F7B #7BAC2F #2F7BAC
tetradic
#AC2F7B #AC9E2F #2FAC60 #2F3CAC
square
#AC2F7B #AC9E2F #2FAC60 #2F3CAC
split-complementary
#AC2F7B #3CAC2F #2FAC9E
monochromatic
#4C1536 #7C2259 #AC2F7B #CE4B9A #DB7BB5

Accessibility & contrast

On white

6.09
#AC2F7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#AC2F7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2F7B
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2F7B#FFFFFF#000000##FFFFFF
##AC2F7B1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41547D
Deuteranopia (green-blind)
#656A78
Tritanopia (blue-blind)
#B82A51
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ac2f7b;
/* rgb */ color: rgb(172, 47, 123);
/* oklch */ color: oklch(52.0% 0.177 347.7);
Tailwind
colors: {
  custom: {
    50: '#c973a1',
    500: '#ac2f7b',
    950: '#000000',
  },
}
SCSS
$custom: #ac2f7b;
$custom-light: #c973a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2f7b",
  "rgb": {
    "r": 172,
    "g": 47,
    "b": 123
  },
  "hsl": {
    "h": 323.52,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51989,
    "c": 0.17721,
    "h": 347.7
  },
  "luminance": 0.12234
}

Semantic roles & 50–950 ramp

primary
#AC2F7B
secondary
#74C393
accent
#E08347
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090F
muted
#827B7E

Preview Lab

Preview with #AC2F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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