#AC2E5B#AC2E5B

#AC2E5B is a mid, vivid pink. Relative luminance 0.115; OKLCH L 50.7% C 0.165 H 3.7°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#AC2E5B
RGBrgb(172, 46, 91)
HSLhsl(339, 58%, 43%)
HSVhsv(339, 73%, 67%)
CMYKcmyk(0%, 73.3%, 47.1%, 32.5%)
CIE-LABlab(40.38, 53.78, 3.88)
CIE-LCHlch(40.38, 53.92, 4.13°)
OKLaboklab(50.75% 0.1646 0.0105)
OKLCHoklch(50.75% 0.165 3.7)
XYZxyz(19.8802, 11.4826, 11.0650)
Luminance0.1148 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2E5B #2EAC7F
analogous
#AC2E9A #AC2E5B #AC402E
triadic
#AC2E5B #5BAC2E #2E5BAC
tetradic
#AC2E5B #9AAC2E #2EAC7F #402EAC
square
#AC2E5B #9AAC2E #2EAC7F #402EAC
split-complementary
#AC2E5B #2EAC40 #2E9AAC
monochromatic
#4B1428 #7C2141 #AC2E5B #CE4979 #DB799C

Accessibility & contrast

On white

6.37
#AC2E5B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#AC2E5B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2E5B
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2E5B#FFFFFF#000000##FFFFFF
##AC2E5B1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4F5C
Deuteranopia (green-blind)
#6C6858
Tritanopia (blue-blind)
#BB1741
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #ac2e5b;
/* rgb */ color: rgb(172, 46, 91);
/* oklch */ color: oklch(50.7% 0.165 3.7);
Tailwind
colors: {
  custom: {
    50: '#ca7189',
    500: '#ac2e5b',
    950: '#000000',
  },
}
SCSS
$custom: #ac2e5b;
$custom-light: #ca7189;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2e5b",
  "rgb": {
    "r": 172,
    "g": 46,
    "b": 91
  },
  "hsl": {
    "h": 338.571,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50749,
    "c": 0.16491,
    "h": 3.7
  },
  "luminance": 0.1148
}

Semantic roles & 50–950 ramp

primary
#AC2E5B
secondary
#72C3A6
accent
#E1AA47
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080B
muted
#837B7C

Preview Lab

Preview with #AC2E5B

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

Preview Lab → · Contrast checker → · Palette generator →

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