#AC2254#AC2254

#AC2254 is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.5% C 0.175 H 5.2°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#AC2254
RGBrgb(172, 34, 84)
HSLhsl(338, 67%, 40%)
HSVhsv(338, 80%, 67%)
CMYKcmyk(0%, 80.2%, 51.2%, 32.5%)
CIE-LABlab(38.83, 57.00, 6.09)
CIE-LCHlch(38.83, 57.32, 6.10°)
OKLaboklab(49.54% 0.1744 0.016)
OKLCHoklch(49.54% 0.175 5.2)
XYZxyz(19.1873, 10.5575, 9.4132)
Luminance0.1056 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2254 #22AC7A
analogous
#AC2299 #AC2254 #AC3522
triadic
#AC2254 #54AC22 #2254AC
tetradic
#AC2254 #99AC22 #22AC7A #3522AC
square
#AC2254 #99AC22 #22AC7A #3522AC
split-complementary
#AC2254 #22AC35 #2299AC
monochromatic
#460E22 #79183B #AC2254 #D7346F #E16793

Accessibility & contrast

On white

6.75
#AC2254 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#AC2254 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2254
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2254#FFFFFF#000000##FFFFFF
##AC22541.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464A55
Deuteranopia (green-blind)
#6A6551
Tritanopia (blue-blind)
#BC0038
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ac2254;
/* rgb */ color: rgb(172, 34, 84);
/* oklch */ color: oklch(49.5% 0.175 5.2);
Tailwind
colors: {
  custom: {
    50: '#cb6c83',
    500: '#ac2254',
    950: '#000000',
  },
}
SCSS
$custom: #ac2254;
$custom-light: #cb6c83;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2254",
  "rgb": {
    "r": 172,
    "g": 34,
    "b": 84
  },
  "hsl": {
    "h": 338.261,
    "s": 66.99,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49539,
    "c": 0.17508,
    "h": 5.2
  },
  "luminance": 0.10555
}

Semantic roles & 50–950 ramp

primary
#AC2254
secondary
#63C7A3
accent
#EAAC3E
background
#FDF6F8
surface
#FAECEF
border
#D3C7CA
text
#14080A
muted
#837A7C

Preview Lab

Preview with #AC2254

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

Preview Lab → · Contrast checker → · Palette generator →

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