#AC2E52#AC2E52

#AC2E52 is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.5% C 0.163 H 8.4°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#AC2E52
RGBrgb(172, 46, 82)
HSLhsl(343, 58%, 43%)
HSVhsv(343, 73%, 67%)
CMYKcmyk(0%, 73.3%, 52.3%, 32.5%)
CIE-LABlab(40.14, 52.98, 9.22)
CIE-LCHlch(40.14, 53.78, 9.87°)
OKLaboklab(50.49% 0.1612 0.0237)
OKLCHoklch(50.49% 0.163 8.4)
XYZxyz(19.5150, 11.3365, 9.1416)
Luminance0.1133 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2E52 #2EAC88
analogous
#AC2E91 #AC2E52 #AC492E
triadic
#AC2E52 #52AC2E #2E52AC
tetradic
#AC2E52 #91AC2E #2EAC88 #492EAC
square
#AC2E52 #91AC2E #2EAC88 #492EAC
split-complementary
#AC2E52 #2EAC49 #2E91AC
monochromatic
#4B1424 #7C213B #AC2E52 #CE496F #DB7995

Accessibility & contrast

On white

6.43
#AC2E52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#AC2E52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2E52
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2E52#FFFFFF#000000##FFFFFF
##AC2E521.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4E53
Deuteranopia (green-blind)
#6E684F
Tritanopia (blue-blind)
#BC113D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #ac2e52;
/* rgb */ color: rgb(172, 46, 82);
/* oklch */ color: oklch(50.5% 0.163 8.4);
Tailwind
colors: {
  custom: {
    50: '#cb7182',
    500: '#ac2e52',
    950: '#000000',
  },
}
SCSS
$custom: #ac2e52;
$custom-light: #cb7182;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2e52",
  "rgb": {
    "r": 172,
    "g": 46,
    "b": 82
  },
  "hsl": {
    "h": 342.857,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50493,
    "c": 0.16292,
    "h": 8.4
  },
  "luminance": 0.11334
}

Semantic roles & 50–950 ramp

primary
#AC2E52
secondary
#72C3AC
accent
#E1B547
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#14080A
muted
#837B7C

Preview Lab

Preview with #AC2E52

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

Preview Lab → · Contrast checker → · Palette generator →

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