#AC2151#AC2151

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

Color values

HEX#AC2151
RGBrgb(172, 33, 81)
HSLhsl(339, 68%, 40%)
HSVhsv(339, 81%, 67%)
CMYKcmyk(0%, 80.8%, 52.9%, 32.5%)
CIE-LABlab(38.65, 57.03, 7.75)
CIE-LCHlch(38.65, 57.56, 7.74°)
OKLaboklab(49.38% 0.1741 0.0201)
OKLCHoklch(49.38% 0.175 6.6)
XYZxyz(19.0441, 10.4552, 8.7982)
Luminance0.1045 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2151 #21AC7C
analogous
#AC2196 #AC2151 #AC3721
triadic
#AC2151 #51AC21 #2151AC
tetradic
#AC2151 #96AC21 #21AC7C #3721AC
square
#AC2151 #96AC21 #21AC7C #3721AC
split-complementary
#AC2151 #21AC37 #2196AC
monochromatic
#450D21 #791739 #AC2151 #D8326C #E26691

Accessibility & contrast

On white

6.80
#AC2151 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AC2151
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2151#FFFFFF#000000##FFFFFF
##AC21511.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ac2151;
/* rgb */ color: rgb(172, 33, 81);
/* oklch */ color: oklch(49.4% 0.175 6.6);
Tailwind
colors: {
  custom: {
    50: '#cb6c81',
    500: '#ac2151',
    950: '#000000',
  },
}
SCSS
$custom: #ac2151;
$custom-light: #cb6c81;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2151",
  "rgb": {
    "r": 172,
    "g": 33,
    "b": 81
  },
  "hsl": {
    "h": 339.281,
    "s": 67.805,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49383,
    "c": 0.17527,
    "h": 6.6
  },
  "luminance": 0.10452
}

Semantic roles & 50–950 ramp

primary
#AC2151
secondary
#62C7A4
accent
#EBAF3D
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#15080A
muted
#837A7C

Preview Lab

Preview with #AC2151

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

Preview Lab → · Contrast checker → · Palette generator →

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