#AC2896#AC2896

#AC2896 is a mid, highly saturated pink. Relative luminance 0.125; OKLCH L 52.7% C 0.202 H 335.9°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#AC2896
RGBrgb(172, 40, 150)
HSLhsl(310, 62%, 42%)
HSVhsv(310, 77%, 67%)
CMYKcmyk(0%, 76.7%, 12.8%, 32.5%)
CIE-LABlab(41.99, 62.88, -30.21)
CIE-LCHlch(41.99, 69.76, 334.34°)
OKLaboklab(52.67% 0.1844 -0.0825)
OKLCHoklch(52.67% 0.202 335.9)
XYZxyz(23.2774, 12.4924, 30.0336)
Luminance0.1249 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2896 #28AC3E
analogous
#8028AC #AC2896 #AC2854
triadic
#AC2896 #96AC28 #2896AC
tetradic
#AC2896 #AC8028 #28AC3E #2854AC
square
#AC2896 #AC8028 #28AC3E #2854AC
split-complementary
#AC2896 #54AC28 #28AC80
monochromatic
#49113F #7A1C6B #AC2896 #D23FBA #DE71CC

Accessibility & contrast

On white

6.00
#AC2896 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#AC2896 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2896
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2896#FFFFFF#000000##FFFFFF
##AC28961.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5799
Deuteranopia (green-blind)
#596A93
Tritanopia (blue-blind)
#B5325D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ac2896;
/* rgb */ color: rgb(172, 40, 150);
/* oklch */ color: oklch(52.7% 0.202 335.9);
Tailwind
colors: {
  custom: {
    50: '#c971b5',
    500: '#ac2896',
    950: '#000000',
  },
}
SCSS
$custom: #ac2896;
$custom-light: #c971b5;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2896",
  "rgb": {
    "r": 172,
    "g": 40,
    "b": 150
  },
  "hsl": {
    "h": 310,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52671,
    "c": 0.20199,
    "h": 335.9
  },
  "luminance": 0.1249
}

Semantic roles & 50–950 ramp

primary
#AC2896
secondary
#6BC57A
accent
#E55E42
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AC2896

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

Preview Lab → · Contrast checker → · Palette generator →

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