#AC2F94#AC2F94

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

Color values

HEX#AC2F94
RGBrgb(172, 47, 148)
HSLhsl(312, 57%, 43%)
HSVhsv(312, 73%, 67%)
CMYKcmyk(0%, 72.7%, 14%, 32.5%)
CIE-LABlab(42.68, 60.34, -27.92)
CIE-LCHlch(42.68, 66.49, 335.17°)
OKLaboklab(53.14% 0.1775 -0.0759)
OKLCHoklch(53.14% 0.193 336.8)
XYZxyz(23.3755, 12.9439, 29.2786)
Luminance0.1294 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2F94 #2FAC47
analogous
#852FAC #AC2F94 #AC2F55
triadic
#AC2F94 #94AC2F #2F94AC
tetradic
#AC2F94 #AC852F #2FAC47 #2F55AC
square
#AC2F94 #AC852F #2FAC47 #2F55AC
split-complementary
#AC2F94 #55AC2F #2FAC85
monochromatic
#4C1541 #7C226B #AC2F94 #CE4BB4 #DB7BC8

Accessibility & contrast

On white

5.85
#AC2F94 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#AC2F94 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2F94
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2F94#FFFFFF#000000##FFFFFF
##AC2F941.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325997
Deuteranopia (green-blind)
#5D6C91
Tritanopia (blue-blind)
#B5375E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ac2f94;
/* rgb */ color: rgb(172, 47, 148);
/* oklch */ color: oklch(53.1% 0.193 336.8);
Tailwind
colors: {
  custom: {
    50: '#c874b3',
    500: '#ac2f94',
    950: '#000000',
  },
}
SCSS
$custom: #ac2f94;
$custom-light: #c874b3;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2f94",
  "rgb": {
    "r": 172,
    "g": 47,
    "b": 148
  },
  "hsl": {
    "h": 311.52,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.53137,
    "c": 0.19308,
    "h": 336.8
  },
  "luminance": 0.12942
}

Semantic roles & 50–950 ramp

primary
#AC2F94
secondary
#74C383
accent
#E06547
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AC2F94

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

Preview Lab → · Contrast checker → · Palette generator →

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