#AC2E8E#AC2E8E

#AC2E8E is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.8% C 0.190 H 339.2°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#AC2E8E
RGBrgb(172, 46, 142)
HSLhsl(314, 58%, 43%)
HSVhsv(314, 73%, 67%)
CMYKcmyk(0%, 73.3%, 17.4%, 32.5%)
CIE-LABlab(42.28, 59.81, -24.91)
CIE-LCHlch(42.28, 64.79, 337.39°)
OKLaboklab(52.75% 0.1778 -0.0674)
OKLCHoklch(52.75% 0.19 339.2)
XYZxyz(22.8733, 12.6798, 26.8288)
Luminance0.1268 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2E8E #2EAC4C
analogous
#8B2EAC #AC2E8E #AC2E4F
triadic
#AC2E8E #8EAC2E #2E8EAC
tetradic
#AC2E8E #AC8B2E #2EAC4C #2E4FAC
square
#AC2E8E #AC8B2E #2EAC4C #2E4FAC
split-complementary
#AC2E8E #4FAC2E #2EAC8B
monochromatic
#4B143E #7C2166 #AC2E8E #CE49AF #DB79C4

Accessibility & contrast

On white

5.94
#AC2E8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#AC2E8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2E8E
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2E8E#FFFFFF#000000##FFFFFF
##AC2E8E1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355791
Deuteranopia (green-blind)
#5F6B8B
Tritanopia (blue-blind)
#B6335A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac2e8e;
/* rgb */ color: rgb(172, 46, 142);
/* oklch */ color: oklch(52.8% 0.190 339.2);
Tailwind
colors: {
  custom: {
    50: '#c873af',
    500: '#ac2e8e',
    950: '#000000',
  },
}
SCSS
$custom: #ac2e8e;
$custom-light: #c873af;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2e8e",
  "rgb": {
    "r": 172,
    "g": 46,
    "b": 142
  },
  "hsl": {
    "h": 314.286,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52754,
    "c": 0.19012,
    "h": 339.2
  },
  "luminance": 0.12678
}

Semantic roles & 50–950 ramp

primary
#AC2E8E
secondary
#72C386
accent
#E16B47
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AC2E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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