#AC2A5D#AC2A5D

#AC2A5D is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.4% C 0.170 H 1.9°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#AC2A5D
RGBrgb(172, 42, 93)
HSLhsl(336, 61%, 42%)
HSVhsv(336, 76%, 67%)
CMYKcmyk(0%, 75.6%, 45.9%, 32.5%)
CIE-LABlab(39.95, 55.34, 1.99)
CIE-LCHlch(39.95, 55.38, 2.06°)
OKLaboklab(50.45% 0.1697 0.0057)
OKLCHoklch(50.45% 0.17 1.9)
XYZxyz(19.8186, 11.2195, 11.4758)
Luminance0.1122 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2A5D #2AAC79
analogous
#AC2A9E #AC2A5D #AC382A
triadic
#AC2A5D #5DAC2A #2A5DAC
tetradic
#AC2A5D #9EAC2A #2AAC79 #382AAC
square
#AC2A5D #9EAC2A #2AAC79 #382AAC
split-complementary
#AC2A5D #2AAC38 #2A9EAC
monochromatic
#4A1228 #7B1E42 #AC2A5D #D1427A #DD739D

Accessibility & contrast

On white

6.47
#AC2A5D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#AC2A5D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2A5D
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2A5D#FFFFFF#000000##FFFFFF
##AC2A5D1.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484E5E
Deuteranopia (green-blind)
#6B675A
Tritanopia (blue-blind)
#BB1040
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ac2a5d;
/* rgb */ color: rgb(172, 42, 93);
/* oklch */ color: oklch(50.4% 0.170 1.9);
Tailwind
colors: {
  custom: {
    50: '#ca708a',
    500: '#ac2a5d',
    950: '#000000',
  },
}
SCSS
$custom: #ac2a5d;
$custom-light: #ca708a;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2a5d",
  "rgb": {
    "r": 172,
    "g": 42,
    "b": 93
  },
  "hsl": {
    "h": 336.462,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50448,
    "c": 0.16979,
    "h": 1.9
  },
  "luminance": 0.11217
}

Semantic roles & 50–950 ramp

primary
#AC2A5D
secondary
#6DC4A2
accent
#E4A544
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080B
muted
#837B7C

Preview Lab

Preview with #AC2A5D

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

Preview Lab → · Contrast checker → · Palette generator →

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