#AC2152#AC2152

#AC2152 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.4% C 0.175 H 6.1°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#AC2152
RGBrgb(172, 33, 82)
HSLhsl(339, 68%, 40%)
HSVhsv(339, 81%, 67%)
CMYKcmyk(0%, 80.8%, 52.3%, 32.5%)
CIE-LABlab(38.67, 57.11, 7.15)
CIE-LCHlch(38.67, 57.56, 7.14°)
OKLaboklab(49.41% 0.1745 0.0186)
OKLCHoklch(49.41% 0.175 6.1)
XYZxyz(19.0819, 10.4703, 8.9972)
Luminance0.1047 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2152 #21AC7B
analogous
#AC2197 #AC2152 #AC3521
triadic
#AC2152 #52AC21 #2152AC
tetradic
#AC2152 #97AC21 #21AC7B #3521AC
square
#AC2152 #97AC21 #21AC7B #3521AC
split-complementary
#AC2152 #21AC35 #2197AC
monochromatic
#450D21 #79173A #AC2152 #D8326D #E26691

Accessibility & contrast

On white

6.79
#AC2152 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#AC2152 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2152
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2152#FFFFFF#000000##FFFFFF
##AC21521.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464A53
Deuteranopia (green-blind)
#6A654F
Tritanopia (blue-blind)
#BC0037
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ac2152;
/* rgb */ color: rgb(172, 33, 82);
/* oklch */ color: oklch(49.4% 0.175 6.1);
Tailwind
colors: {
  custom: {
    50: '#cb6c82',
    500: '#ac2152',
    950: '#000000',
  },
}
SCSS
$custom: #ac2152;
$custom-light: #cb6c82;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2152",
  "rgb": {
    "r": 172,
    "g": 33,
    "b": 82
  },
  "hsl": {
    "h": 338.849,
    "s": 67.805,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49411,
    "c": 0.17549,
    "h": 6.1
  },
  "luminance": 0.10468
}

Semantic roles & 50–950 ramp

primary
#AC2152
secondary
#62C7A3
accent
#EBAD3D
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#14080A
muted
#837A7C

Preview Lab

Preview with #AC2152

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

Preview Lab → · Contrast checker → · Palette generator →

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