#AC2157#AC2157

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

Color values

HEX#AC2157
RGBrgb(172, 33, 87)
HSLhsl(337, 68%, 40%)
HSVhsv(337, 81%, 67%)
CMYKcmyk(0%, 80.8%, 49.4%, 32.5%)
CIE-LABlab(38.81, 57.53, 4.16)
CIE-LCHlch(38.81, 57.68, 4.13°)
OKLaboklab(49.56% 0.1763 0.0112)
OKLCHoklch(49.56% 0.177 3.6)
XYZxyz(19.2791, 10.5492, 10.0360)
Luminance0.1055 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2157 #21AC76
analogous
#AC219C #AC2157 #AC3121
triadic
#AC2157 #57AC21 #2157AC
tetradic
#AC2157 #9CAC21 #21AC76 #3121AC
square
#AC2157 #9CAC21 #21AC76 #3121AC
split-complementary
#AC2157 #21AC31 #219CAC
monochromatic
#450D23 #79173D #AC2157 #D83273 #E26696

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AC2157#FFFFFF#000000##FFFFFF
##AC21571.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)
#454A58
Deuteranopia (green-blind)
#6A6554
Tritanopia (blue-blind)
#BB0039
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ac2157;
/* rgb */ color: rgb(172, 33, 87);
/* oklch */ color: oklch(49.6% 0.177 3.6);
Tailwind
colors: {
  custom: {
    50: '#cb6c86',
    500: '#ac2157',
    950: '#000000',
  },
}
SCSS
$custom: #ac2157;
$custom-light: #cb6c86;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2157",
  "rgb": {
    "r": 172,
    "g": 33,
    "b": 87
  },
  "hsl": {
    "h": 336.691,
    "s": 67.805,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49556,
    "c": 0.17668,
    "h": 3.6
  },
  "luminance": 0.10546
}

Semantic roles & 50–950 ramp

primary
#AC2157
secondary
#62C7A0
accent
#EBA73D
background
#FDF6F8
surface
#FAECEF
border
#D3C7CA
text
#14080B
muted
#837A7C

Preview Lab

Preview with #AC2157

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

Preview Lab → · Contrast checker → · Palette generator →

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