#AC2A5E#AC2A5E

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

Color values

HEX#AC2A5E
RGBrgb(172, 42, 94)
HSLhsl(336, 61%, 42%)
HSVhsv(336, 76%, 67%)
CMYKcmyk(0%, 75.6%, 45.3%, 32.5%)
CIE-LABlab(39.98, 55.43, 1.40)
CIE-LCHlch(39.98, 55.45, 1.45°)
OKLaboklab(50.48% 0.17 0.0042)
OKLCHoklch(50.48% 0.17 1.4)
XYZxyz(19.8632, 11.2374, 11.7106)
Luminance0.1124 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2A5E #2AAC78
analogous
#AC2A9F #AC2A5E #AC372A
triadic
#AC2A5E #5EAC2A #2A5EAC
tetradic
#AC2A5E #9FAC2A #2AAC78 #372AAC
square
#AC2A5E #9FAC2A #2AAC78 #372AAC
split-complementary
#AC2A5E #2AAC37 #2A9FAC
monochromatic
#4A1228 #7B1E43 #AC2A5E #D1427B #DD739E

Accessibility & contrast

On white

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

On black

3.25
#AC2A5E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AC2A5E#FFFFFF#000000##FFFFFF
##AC2A5E1.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484E5F
Deuteranopia (green-blind)
#6B675B
Tritanopia (blue-blind)
#BB1140
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ac2a5e;
/* rgb */ color: rgb(172, 42, 94);
/* oklch */ color: oklch(50.5% 0.170 1.4);
Tailwind
colors: {
  custom: {
    50: '#ca708b',
    500: '#ac2a5e',
    950: '#000000',
  },
}
SCSS
$custom: #ac2a5e;
$custom-light: #ca708b;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2a5e",
  "rgb": {
    "r": 172,
    "g": 42,
    "b": 94
  },
  "hsl": {
    "h": 336,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.5048,
    "c": 0.17009,
    "h": 1.4
  },
  "luminance": 0.11235
}

Semantic roles & 50–950 ramp

primary
#AC2A5E
secondary
#6DC4A2
accent
#E4A444
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AC2A5E

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

Preview Lab → · Contrast checker → · Palette generator →

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