#AC2266#AC2266

#AC2266 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.1% C 0.181 H 356.4°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#AC2266
RGBrgb(172, 34, 102)
HSLhsl(330, 67%, 40%)
HSVhsv(330, 80%, 67%)
CMYKcmyk(0%, 80.2%, 40.7%, 32.5%)
CIE-LABlab(39.37, 58.65, -4.54)
CIE-LCHlch(39.37, 58.82, 355.57°)
OKLaboklab(50.12% 0.1805 -0.0112)
OKLCHoklch(50.12% 0.181 356.4)
XYZxyz(19.9850, 10.8766, 13.6148)
Luminance0.1087 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2266 #22AC68
analogous
#AC22AB #AC2266 #AC2322
triadic
#AC2266 #66AC22 #2266AC
tetradic
#AC2266 #ABAC22 #22AC68 #2322AC
square
#AC2266 #ABAC22 #22AC68 #2322AC
split-complementary
#AC2266 #22AC23 #22ABAC
monochromatic
#460E29 #791848 #AC2266 #D73484 #E167A3

Accessibility & contrast

On white

6.61
#AC2266 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#AC2266 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2266
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2266#FFFFFF#000000##FFFFFF
##AC22661.006.613.176.61
#FFFFFF6.611.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414C68
Deuteranopia (green-blind)
#676663
Tritanopia (blue-blind)
#BA0741
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ac2266;
/* rgb */ color: rgb(172, 34, 102);
/* oklch */ color: oklch(50.1% 0.181 356.4);
Tailwind
colors: {
  custom: {
    50: '#ca6d91',
    500: '#ac2266',
    950: '#000000',
  },
}
SCSS
$custom: #ac2266;
$custom-light: #ca6d91;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2266",
  "rgb": {
    "r": 172,
    "g": 34,
    "b": 102
  },
  "hsl": {
    "h": 330.435,
    "s": 66.99,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50119,
    "c": 0.1808,
    "h": 356.4
  },
  "luminance": 0.10874
}

Semantic roles & 50–950 ramp

primary
#AC2266
secondary
#63C796
accent
#EA953E
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AC2266

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

Preview Lab → · Contrast checker → · Palette generator →

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