#AC2258#AC2258

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

Color values

HEX#AC2258
RGBrgb(172, 34, 88)
HSLhsl(337, 67%, 40%)
HSVhsv(337, 80%, 67%)
CMYKcmyk(0%, 80.2%, 48.8%, 32.5%)
CIE-LABlab(38.94, 57.33, 3.70)
CIE-LCHlch(38.94, 57.45, 3.69°)
OKLaboklab(49.66% 0.1758 0.0101)
OKLCHoklch(49.66% 0.176 3.3)
XYZxyz(19.3484, 10.6220, 10.2620)
Luminance0.1062 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2258 #22AC76
analogous
#AC229D #AC2258 #AC3122
triadic
#AC2258 #58AC22 #2258AC
tetradic
#AC2258 #9DAC22 #22AC76 #3122AC
square
#AC2258 #9DAC22 #22AC76 #3122AC
split-complementary
#AC2258 #22AC31 #229DAC
monochromatic
#460E24 #79183E #AC2258 #D73474 #E16797

Accessibility & contrast

On white

6.72
#AC2258 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AC2258
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2258#FFFFFF#000000##FFFFFF
##AC22581.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ac2258;
/* rgb */ color: rgb(172, 34, 88);
/* oklch */ color: oklch(49.7% 0.176 3.3);
Tailwind
colors: {
  custom: {
    50: '#cb6c86',
    500: '#ac2258',
    950: '#000000',
  },
}
SCSS
$custom: #ac2258;
$custom-light: #cb6c86;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2258",
  "rgb": {
    "r": 172,
    "g": 34,
    "b": 88
  },
  "hsl": {
    "h": 336.522,
    "s": 66.99,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49658,
    "c": 0.17609,
    "h": 3.3
  },
  "luminance": 0.10619
}

Semantic roles & 50–950 ramp

primary
#AC2258
secondary
#63C7A0
accent
#EAA73E
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080B
muted
#837B7C

Preview Lab

Preview with #AC2258

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

Preview Lab → · Contrast checker → · Palette generator →

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