#AC2F93#AC2F93

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

Color values

HEX#AC2F93
RGBrgb(172, 47, 147)
HSLhsl(312, 57%, 43%)
HSVhsv(312, 73%, 67%)
CMYKcmyk(0%, 72.7%, 14.5%, 32.5%)
CIE-LABlab(42.63, 60.19, -27.39)
CIE-LCHlch(42.63, 66.13, 335.53°)
OKLaboklab(53.09% 0.1774 -0.0744)
OKLCHoklch(53.09% 0.192 337.2)
XYZxyz(23.2967, 12.9124, 28.8635)
Luminance0.1291 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2F93 #2FAC48
analogous
#862FAC #AC2F93 #AC2F54
triadic
#AC2F93 #93AC2F #2F93AC
tetradic
#AC2F93 #AC862F #2FAC48 #2F54AC
square
#AC2F93 #AC862F #2FAC48 #2F54AC
split-complementary
#AC2F93 #54AC2F #2FAC86
monochromatic
#4C1541 #7C226A #AC2F93 #CE4BB3 #DB7BC8

Accessibility & contrast

On white

5.86
#AC2F93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AC2F93
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2F93#FFFFFF#000000##FFFFFF
##AC2F931.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ac2f93;
/* rgb */ color: rgb(172, 47, 147);
/* oklch */ color: oklch(53.1% 0.192 337.2);
Tailwind
colors: {
  custom: {
    50: '#c873b3',
    500: '#ac2f93',
    950: '#000000',
  },
}
SCSS
$custom: #ac2f93;
$custom-light: #c873b3;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2f93",
  "rgb": {
    "r": 172,
    "g": 47,
    "b": 147
  },
  "hsl": {
    "h": 312,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.53087,
    "c": 0.19238,
    "h": 337.2
  },
  "luminance": 0.1291
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC2F93

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

Preview Lab → · Contrast checker → · Palette generator →

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