#AC2158#AC2158

#AC2158 is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.6% C 0.177 H 3.1°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#AC2158
RGBrgb(172, 33, 88)
HSLhsl(336, 68%, 40%)
HSVhsv(336, 81%, 67%)
CMYKcmyk(0%, 80.8%, 48.8%, 32.5%)
CIE-LABlab(38.84, 57.61, 3.56)
CIE-LCHlch(38.84, 57.72, 3.54°)
OKLaboklab(49.59% 0.1767 0.0097)
OKLCHoklch(49.59% 0.177 3.1)
XYZxyz(19.3202, 10.5656, 10.2526)
Luminance0.1056 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2158 #21AC75
analogous
#AC219D #AC2158 #AC2F21
triadic
#AC2158 #58AC21 #2158AC
tetradic
#AC2158 #9DAC21 #21AC75 #2F21AC
square
#AC2158 #9DAC21 #21AC75 #2F21AC
split-complementary
#AC2158 #21AC2F #219DAC
monochromatic
#450D23 #79173E #AC2158 #D83274 #E26697

Accessibility & contrast

On white

6.75
#AC2158 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#AC2158 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2158
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2158#FFFFFF#000000##FFFFFF
##AC21581.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454A59
Deuteranopia (green-blind)
#696555
Tritanopia (blue-blind)
#BB003A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ac2158;
/* rgb */ color: rgb(172, 33, 88);
/* oklch */ color: oklch(49.6% 0.177 3.1);
Tailwind
colors: {
  custom: {
    50: '#cb6c86',
    500: '#ac2158',
    950: '#000000',
  },
}
SCSS
$custom: #ac2158;
$custom-light: #cb6c86;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2158",
  "rgb": {
    "r": 172,
    "g": 33,
    "b": 88
  },
  "hsl": {
    "h": 336.259,
    "s": 67.805,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49586,
    "c": 0.17696,
    "h": 3.1
  },
  "luminance": 0.10563
}

Semantic roles & 50–950 ramp

primary
#AC2158
secondary
#62C79F
accent
#EBA63D
background
#FDF6F8
surface
#FAECEF
border
#D3C7CA
text
#14080B
muted
#837A7C

Preview Lab

Preview with #AC2158

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

Preview Lab → · Contrast checker → · Palette generator →

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