#AC2052#AC2052

#AC2052 is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.3% C 0.176 H 5.9°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#AC2052
RGBrgb(172, 32, 82)
HSLhsl(339, 69%, 40%)
HSVhsv(339, 81%, 67%)
CMYKcmyk(0%, 81.4%, 52.3%, 32.5%)
CIE-LABlab(38.58, 57.38, 7.02)
CIE-LCHlch(38.58, 57.81, 6.97°)
OKLaboklab(49.34% 0.1754 0.0183)
OKLCHoklch(49.34% 0.176 5.9)
XYZxyz(19.0545, 10.4156, 8.9881)
Luminance0.1041 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2052 #20AC7A
analogous
#AC2098 #AC2052 #AC3420
triadic
#AC2052 #52AC20 #2052AC
tetradic
#AC2052 #98AC20 #20AC7A #3420AC
square
#AC2052 #98AC20 #20AC7A #3420AC
split-complementary
#AC2052 #20AC34 #2098AC
monochromatic
#450D21 #781639 #AC2052 #D9316D #E26491

Accessibility & contrast

On white

6.81
#AC2052 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#AC2052 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2052
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2052#FFFFFF#000000##FFFFFF
##AC20521.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ac2052;
/* rgb */ color: rgb(172, 32, 82);
/* oklch */ color: oklch(49.3% 0.176 5.9);
Tailwind
colors: {
  custom: {
    50: '#cb6b82',
    500: '#ac2052',
    950: '#000000',
  },
}
SCSS
$custom: #ac2052;
$custom-light: #cb6b82;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2052",
  "rgb": {
    "r": 172,
    "g": 32,
    "b": 82
  },
  "hsl": {
    "h": 338.571,
    "s": 68.627,
    "l": 40
  },
  "oklch": {
    "l": 0.49341,
    "c": 0.17633,
    "h": 5.9
  },
  "luminance": 0.10413
}

Semantic roles & 50–950 ramp

primary
#AC2052
secondary
#60C7A3
accent
#EBAD3C
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#14080A
muted
#837A7C

Preview Lab

Preview with #AC2052

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

Preview Lab → · Contrast checker → · Palette generator →

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