#AC2F92#AC2F92

#AC2F92 is a mid, vivid pink. Relative luminance 0.129; OKLCH L 53.0% C 0.192 H 337.6°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#AC2F92
RGBrgb(172, 47, 146)
HSLhsl(312, 57%, 43%)
HSVhsv(312, 73%, 67%)
CMYKcmyk(0%, 72.7%, 15.1%, 32.5%)
CIE-LABlab(42.58, 60.05, -26.86)
CIE-LCHlch(42.58, 65.78, 335.90°)
OKLaboklab(53.04% 0.1773 -0.0729)
OKLCHoklch(53.04% 0.192 337.6)
XYZxyz(23.2185, 12.8812, 28.4520)
Luminance0.1288 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2F92 #2FAC49
analogous
#872FAC #AC2F92 #AC2F53
triadic
#AC2F92 #92AC2F #2F92AC
tetradic
#AC2F92 #AC872F #2FAC49 #2F53AC
square
#AC2F92 #AC872F #2FAC49 #2F53AC
split-complementary
#AC2F92 #53AC2F #2FAC87
monochromatic
#4C1540 #7C2269 #AC2F92 #CE4BB2 #DB7BC7

Accessibility & contrast

On white

5.87
#AC2F92 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#AC2F92 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2F92
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2F92#FFFFFF#000000##FFFFFF
##AC2F921.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345895
Deuteranopia (green-blind)
#5D6B8F
Tritanopia (blue-blind)
#B5365D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ac2f92;
/* rgb */ color: rgb(172, 47, 146);
/* oklch */ color: oklch(53.0% 0.192 337.6);
Tailwind
colors: {
  custom: {
    50: '#c873b2',
    500: '#ac2f92',
    950: '#000000',
  },
}
SCSS
$custom: #ac2f92;
$custom-light: #c873b2;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2f92",
  "rgb": {
    "r": 172,
    "g": 47,
    "b": 146
  },
  "hsl": {
    "h": 312.48,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.53037,
    "c": 0.19168,
    "h": 337.6
  },
  "luminance": 0.12879
}

Semantic roles & 50–950 ramp

primary
#AC2F92
secondary
#74C384
accent
#E06747
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AC2F92

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

Preview Lab → · Contrast checker → · Palette generator →

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