#AC2257#AC2257

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

Color values

HEX#AC2257
RGBrgb(172, 34, 87)
HSLhsl(337, 67%, 40%)
HSVhsv(337, 80%, 67%)
CMYKcmyk(0%, 80.2%, 49.4%, 32.5%)
CIE-LABlab(38.91, 57.25, 4.30)
CIE-LCHlch(38.91, 57.41, 4.29°)
OKLaboklab(49.63% 0.1754 0.0116)
OKLCHoklch(49.63% 0.176 3.8)
XYZxyz(19.3073, 10.6055, 10.0454)
Luminance0.1060 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2257 #22AC77
analogous
#AC229C #AC2257 #AC3222
triadic
#AC2257 #57AC22 #2257AC
tetradic
#AC2257 #9CAC22 #22AC77 #3222AC
square
#AC2257 #9CAC22 #22AC77 #3222AC
split-complementary
#AC2257 #22AC32 #229CAC
monochromatic
#460E23 #79183D #AC2257 #D73473 #E16796

Accessibility & contrast

On white

6.73
#AC2257 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#AC2257 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2257
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2257#FFFFFF#000000##FFFFFF
##AC22571.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454A58
Deuteranopia (green-blind)
#6A6554
Tritanopia (blue-blind)
#BB003A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #ac2257;
/* rgb */ color: rgb(172, 34, 87);
/* oklch */ color: oklch(49.6% 0.176 3.8);
Tailwind
colors: {
  custom: {
    50: '#cb6c86',
    500: '#ac2257',
    950: '#000000',
  },
}
SCSS
$custom: #ac2257;
$custom-light: #cb6c86;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2257",
  "rgb": {
    "r": 172,
    "g": 34,
    "b": 87
  },
  "hsl": {
    "h": 336.957,
    "s": 66.99,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49628,
    "c": 0.17582,
    "h": 3.8
  },
  "luminance": 0.10603
}

Semantic roles & 50–950 ramp

primary
#AC2257
secondary
#63C7A0
accent
#EAA83E
background
#FDF6F8
surface
#FAECEF
border
#D3C7CA
text
#14080B
muted
#837A7C

Preview Lab

Preview with #AC2257

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

Preview Lab → · Contrast checker → · Palette generator →

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