#AC226F#AC226F

#AC226F is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.5% C 0.185 H 352.2°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#AC226F
RGBrgb(172, 34, 111)
HSLhsl(327, 67%, 40%)
HSVhsv(327, 80%, 67%)
CMYKcmyk(0%, 80.2%, 35.5%, 32.5%)
CIE-LABlab(39.69, 59.60, -9.73)
CIE-LCHlch(39.69, 60.39, 350.73°)
OKLaboklab(50.45% 0.183 -0.0251)
OKLCHoklch(50.45% 0.185 352.2)
XYZxyz(20.4558, 11.0649, 16.0944)
Luminance0.1106 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC226F #22AC5F
analogous
#A422AC #AC226F #AC222A
triadic
#AC226F #6FAC22 #226FAC
tetradic
#AC226F #ACA422 #22AC5F #222AAC
square
#AC226F #ACA422 #22AC5F #222AAC
split-complementary
#AC226F #2AAC22 #22ACA4
monochromatic
#460E2D #79184E #AC226F #D7348F #E167AB

Accessibility & contrast

On white

6.54
#AC226F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AC226F
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC226F#FFFFFF#000000##FFFFFF
##AC226F1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D4E71
Deuteranopia (green-blind)
#65666C
Tritanopia (blue-blind)
#BA1246
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ac226f;
/* rgb */ color: rgb(172, 34, 111);
/* oklch */ color: oklch(50.5% 0.185 352.2);
Tailwind
colors: {
  custom: {
    50: '#ca6d98',
    500: '#ac226f',
    950: '#000000',
  },
}
SCSS
$custom: #ac226f;
$custom-light: #ca6d98;
$custom-dark: #000000;
JSON
{
  "hex": "#ac226f",
  "rgb": {
    "r": 172,
    "g": 34,
    "b": 111
  },
  "hsl": {
    "h": 326.522,
    "s": 66.99,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50454,
    "c": 0.18471,
    "h": 352.2
  },
  "luminance": 0.11062
}

Semantic roles & 50–950 ramp

primary
#AC226F
secondary
#63C78F
accent
#EA8A3E
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080D
muted
#837B7E

Preview Lab

Preview with #AC226F

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

Preview Lab → · Contrast checker → · Palette generator →

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