#AC2F95#AC2F95

#AC2F95 is a mid, vivid pink. Relative luminance 0.130; OKLCH L 53.2% C 0.194 H 336.4°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#AC2F95
RGBrgb(172, 47, 149)
HSLhsl(311, 57%, 43%)
HSVhsv(311, 73%, 67%)
CMYKcmyk(0%, 72.7%, 13.4%, 32.5%)
CIE-LABlab(42.73, 60.49, -28.45)
CIE-LCHlch(42.73, 66.84, 334.81°)
OKLaboklab(53.19% 0.1776 -0.0775)
OKLCHoklch(53.19% 0.194 336.4)
XYZxyz(23.4550, 12.9757, 29.6972)
Luminance0.1297 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2F95 #2FAC46
analogous
#842FAC #AC2F95 #AC2F56
triadic
#AC2F95 #95AC2F #2F95AC
tetradic
#AC2F95 #AC842F #2FAC46 #2F56AC
square
#AC2F95 #AC842F #2FAC46 #2F56AC
split-complementary
#AC2F95 #56AC2F #2FAC84
monochromatic
#4C1542 #7C226B #AC2F95 #CE4BB6 #DB7BC9

Accessibility & contrast

On white

5.84
#AC2F95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AC2F95
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2F95#FFFFFF#000000##FFFFFF
##AC2F951.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ac2f95;
/* rgb */ color: rgb(172, 47, 149);
/* oklch */ color: oklch(53.2% 0.194 336.4);
Tailwind
colors: {
  custom: {
    50: '#c874b4',
    500: '#ac2f95',
    950: '#000000',
  },
}
SCSS
$custom: #ac2f95;
$custom-light: #c874b4;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2f95",
  "rgb": {
    "r": 172,
    "g": 47,
    "b": 149
  },
  "hsl": {
    "h": 311.04,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.53187,
    "c": 0.19378,
    "h": 336.4
  },
  "luminance": 0.12974
}

Semantic roles & 50–950 ramp

primary
#AC2F95
secondary
#74C382
accent
#E06447
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AC2F95

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

Preview Lab → · Contrast checker → · Palette generator →

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