#AC2162#AC2162

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

Color values

HEX#AC2162
RGBrgb(172, 33, 98)
HSLhsl(332, 68%, 40%)
HSVhsv(332, 81%, 67%)
CMYKcmyk(0%, 80.8%, 43%, 32.5%)
CIE-LABlab(39.14, 58.53, -2.35)
CIE-LCHlch(39.14, 58.57, 357.70°)
OKLaboklab(49.91% 0.1801 -0.0054)
OKLCHoklch(49.91% 0.18 358.3)
XYZxyz(19.7632, 10.7428, 12.5858)
Luminance0.1074 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2162 #21AC6B
analogous
#AC21A8 #AC2162 #AC2521
triadic
#AC2162 #62AC21 #2162AC
tetradic
#AC2162 #A8AC21 #21AC6B #2521AC
square
#AC2162 #A8AC21 #21AC6B #2521AC
split-complementary
#AC2162 #21AC25 #21A8AC
monochromatic
#450D27 #791745 #AC2162 #D83280 #E266A0

Accessibility & contrast

On white

6.67
#AC2162 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#AC2162 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2162
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2162#FFFFFF#000000##FFFFFF
##AC21621.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#424C64
Deuteranopia (green-blind)
#67665F
Tritanopia (blue-blind)
#BB003F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #ac2162;
/* rgb */ color: rgb(172, 33, 98);
/* oklch */ color: oklch(49.9% 0.180 358.3);
Tailwind
colors: {
  custom: {
    50: '#ca6c8e',
    500: '#ac2162',
    950: '#000000',
  },
}
SCSS
$custom: #ac2162;
$custom-light: #ca6c8e;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2162",
  "rgb": {
    "r": 172,
    "g": 33,
    "b": 98
  },
  "hsl": {
    "h": 331.942,
    "s": 67.805,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49909,
    "c": 0.18016,
    "h": 358.3
  },
  "luminance": 0.1074
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC2162

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

Preview Lab → · Contrast checker → · Palette generator →

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