#AC2051#AC2051

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

Color values

HEX#AC2051
RGBrgb(172, 32, 81)
HSLhsl(339, 69%, 40%)
HSVhsv(339, 81%, 67%)
CMYKcmyk(0%, 81.4%, 52.9%, 32.5%)
CIE-LABlab(38.55, 57.30, 7.62)
CIE-LCHlch(38.55, 57.81, 7.57°)
OKLaboklab(49.31% 0.175 0.0197)
OKLCHoklch(49.31% 0.176 6.4)
XYZxyz(19.0168, 10.4005, 8.7891)
Luminance0.1040 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2051 #20AC7B
analogous
#AC2097 #AC2051 #AC3520
triadic
#AC2051 #51AC20 #2051AC
tetradic
#AC2051 #97AC20 #20AC7B #3520AC
square
#AC2051 #97AC20 #20AC7B #3520AC
split-complementary
#AC2051 #20AC35 #2097AC
monochromatic
#450D20 #781639 #AC2051 #D9316B #E26490

Accessibility & contrast

On white

6.82
#AC2051 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AC2051
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2051#FFFFFF#000000##FFFFFF
##AC20511.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464952
Deuteranopia (green-blind)
#6A654E
Tritanopia (blue-blind)
#BC0036
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ac2051;
/* rgb */ color: rgb(172, 32, 81);
/* oklch */ color: oklch(49.3% 0.176 6.4);
Tailwind
colors: {
  custom: {
    50: '#cb6b81',
    500: '#ac2051',
    950: '#000000',
  },
}
SCSS
$custom: #ac2051;
$custom-light: #cb6b81;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2051",
  "rgb": {
    "r": 172,
    "g": 32,
    "b": 81
  },
  "hsl": {
    "h": 339,
    "s": 68.627,
    "l": 40
  },
  "oklch": {
    "l": 0.49313,
    "c": 0.17611,
    "h": 6.4
  },
  "luminance": 0.10398
}

Semantic roles & 50–950 ramp

primary
#AC2051
secondary
#60C7A3
accent
#EBAE3C
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#15080A
muted
#837A7C

Preview Lab

Preview with #AC2051

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

Preview Lab → · Contrast checker → · Palette generator →

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