#AC2161#AC2161

#AC2161 is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.9% C 0.180 H 358.8°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#AC2161
RGBrgb(172, 33, 97)
HSLhsl(332, 68%, 40%)
HSVhsv(332, 81%, 67%)
CMYKcmyk(0%, 80.8%, 43.6%, 32.5%)
CIE-LABlab(39.11, 58.43, -1.76)
CIE-LCHlch(39.11, 58.46, 358.27°)
OKLaboklab(49.88% 0.1798 -0.0039)
OKLCHoklch(49.88% 0.18 358.8)
XYZxyz(19.7163, 10.7241, 12.3387)
Luminance0.1072 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2161 #21AC6C
analogous
#AC21A7 #AC2161 #AC2621
triadic
#AC2161 #61AC21 #2161AC
tetradic
#AC2161 #A7AC21 #21AC6C #2621AC
square
#AC2161 #A7AC21 #21AC6C #2621AC
split-complementary
#AC2161 #21AC26 #21A7AC
monochromatic
#450D27 #791744 #AC2161 #D8327F #E2669F

Accessibility & contrast

On white

6.68
#AC2161 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#AC2161 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2161
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2161#FFFFFF#000000##FFFFFF
##AC21611.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424B62
Deuteranopia (green-blind)
#68655E
Tritanopia (blue-blind)
#BB003E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #ac2161;
/* rgb */ color: rgb(172, 33, 97);
/* oklch */ color: oklch(49.9% 0.180 358.8);
Tailwind
colors: {
  custom: {
    50: '#ca6c8d',
    500: '#ac2161',
    950: '#000000',
  },
}
SCSS
$custom: #ac2161;
$custom-light: #ca6c8d;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2161",
  "rgb": {
    "r": 172,
    "g": 33,
    "b": 97
  },
  "hsl": {
    "h": 332.374,
    "s": 67.805,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49875,
    "c": 0.1798,
    "h": 358.8
  },
  "luminance": 0.10721
}

Semantic roles & 50–950 ramp

primary
#AC2161
secondary
#62C798
accent
#EB9B3D
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AC2161

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

Preview Lab → · Contrast checker → · Palette generator →

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