#AC226E#AC226E

#AC226E is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.4% C 0.184 H 352.7°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#AC226E
RGBrgb(172, 34, 110)
HSLhsl(327, 67%, 40%)
HSVhsv(327, 80%, 67%)
CMYKcmyk(0%, 80.2%, 36%, 32.5%)
CIE-LABlab(39.65, 59.49, -9.16)
CIE-LCHlch(39.65, 60.19, 351.25°)
OKLaboklab(50.42% 0.1827 -0.0236)
OKLCHoklch(50.42% 0.184 352.7)
XYZxyz(20.4011, 11.0430, 15.8060)
Luminance0.1104 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC226E #22AC60
analogous
#A522AC #AC226E #AC2229
triadic
#AC226E #6EAC22 #226EAC
tetradic
#AC226E #ACA522 #22AC60 #2229AC
square
#AC226E #ACA522 #22AC60 #2229AC
split-complementary
#AC226E #29AC22 #22ACA5
monochromatic
#460E2D #79184D #AC226E #D7348E #E167AA

Accessibility & contrast

On white

6.55
#AC226E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#AC226E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC226E
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC226E#FFFFFF#000000##FFFFFF
##AC226E1.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E4E70
Deuteranopia (green-blind)
#65666B
Tritanopia (blue-blind)
#BA1146
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ac226e;
/* rgb */ color: rgb(172, 34, 110);
/* oklch */ color: oklch(50.4% 0.184 352.7);
Tailwind
colors: {
  custom: {
    50: '#ca6d97',
    500: '#ac226e',
    950: '#000000',
  },
}
SCSS
$custom: #ac226e;
$custom-light: #ca6d97;
$custom-dark: #000000;
JSON
{
  "hex": "#ac226e",
  "rgb": {
    "r": 172,
    "g": 34,
    "b": 110
  },
  "hsl": {
    "h": 326.957,
    "s": 66.99,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50416,
    "c": 0.18425,
    "h": 352.7
  },
  "luminance": 0.1104
}

Semantic roles & 50–950 ramp

primary
#AC226E
secondary
#63C790
accent
#EA8B3E
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080D
muted
#837B7E

Preview Lab

Preview with #AC226E

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

Preview Lab → · Contrast checker → · Palette generator →

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