#AC2252#AC2252

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

Color values

HEX#AC2252
RGBrgb(172, 34, 82)
HSLhsl(339, 67%, 40%)
HSVhsv(339, 80%, 67%)
CMYKcmyk(0%, 80.2%, 52.3%, 32.5%)
CIE-LABlab(38.77, 56.83, 7.29)
CIE-LCHlch(38.77, 57.30, 7.31°)
OKLaboklab(49.48% 0.1736 0.0189)
OKLCHoklch(49.48% 0.175 6.2)
XYZxyz(19.1100, 10.5266, 9.0066)
Luminance0.1052 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2252 #22AC7C
analogous
#AC2297 #AC2252 #AC3722
triadic
#AC2252 #52AC22 #2252AC
tetradic
#AC2252 #97AC22 #22AC7C #3722AC
square
#AC2252 #97AC22 #22AC7C #3722AC
split-complementary
#AC2252 #22AC37 #2297AC
monochromatic
#460E21 #79183A #AC2252 #D7346D #E16792

Accessibility & contrast

On white

6.76
#AC2252 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#AC2252 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2252
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2252#FFFFFF#000000##FFFFFF
##AC22521.006.763.106.76
#FFFFFF6.761.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474A53
Deuteranopia (green-blind)
#6B654F
Tritanopia (blue-blind)
#BC0037
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ac2252;
/* rgb */ color: rgb(172, 34, 82);
/* oklch */ color: oklch(49.5% 0.175 6.2);
Tailwind
colors: {
  custom: {
    50: '#cb6c82',
    500: '#ac2252',
    950: '#000000',
  },
}
SCSS
$custom: #ac2252;
$custom-light: #cb6c82;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2252",
  "rgb": {
    "r": 172,
    "g": 34,
    "b": 82
  },
  "hsl": {
    "h": 339.13,
    "s": 66.99,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49483,
    "c": 0.17463,
    "h": 6.2
  },
  "luminance": 0.10524
}

Semantic roles & 50–950 ramp

primary
#AC2252
secondary
#63C7A4
accent
#EAAE3E
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#14080A
muted
#837A7C

Preview Lab

Preview with #AC2252

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

Preview Lab → · Contrast checker → · Palette generator →

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