#AC2E51#AC2E51

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

Color values

HEX#AC2E51
RGBrgb(172, 46, 81)
HSLhsl(343, 58%, 43%)
HSVhsv(343, 73%, 67%)
CMYKcmyk(0%, 73.3%, 52.9%, 32.5%)
CIE-LABlab(40.12, 52.90, 9.82)
CIE-LCHlch(40.12, 53.80, 10.51°)
OKLaboklab(50.47% 0.1608 0.0251)
OKLCHoklch(50.47% 0.163 8.9)
XYZxyz(19.4772, 11.3214, 8.9426)
Luminance0.1132 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2E51 #2EAC89
analogous
#AC2E90 #AC2E51 #AC4A2E
triadic
#AC2E51 #51AC2E #2E51AC
tetradic
#AC2E51 #90AC2E #2EAC89 #4A2EAC
square
#AC2E51 #90AC2E #2EAC89 #4A2EAC
split-complementary
#AC2E51 #2EAC4A #2E90AC
monochromatic
#4B1424 #7C213A #AC2E51 #CE496E #DB7994

Accessibility & contrast

On white

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

On black

3.26
#AC2E51 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AC2E51#FFFFFF#000000##FFFFFF
##AC2E511.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4E52
Deuteranopia (green-blind)
#6E684E
Tritanopia (blue-blind)
#BC103C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #ac2e51;
/* rgb */ color: rgb(172, 46, 81);
/* oklch */ color: oklch(50.5% 0.163 8.9);
Tailwind
colors: {
  custom: {
    50: '#cb7181',
    500: '#ac2e51',
    950: '#000000',
  },
}
SCSS
$custom: #ac2e51;
$custom-light: #cb7181;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2e51",
  "rgb": {
    "r": 172,
    "g": 46,
    "b": 81
  },
  "hsl": {
    "h": 343.333,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50467,
    "c": 0.16276,
    "h": 8.9
  },
  "luminance": 0.11319
}

Semantic roles & 50–950 ramp

primary
#AC2E51
secondary
#72C3AD
accent
#E1B647
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#14080A
muted
#837B7C

Preview Lab

Preview with #AC2E51

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

Preview Lab → · Contrast checker → · Palette generator →

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