#AC2D8F#AC2D8F

#AC2D8F is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.7% C 0.192 H 338.8°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#AC2D8F
RGBrgb(172, 45, 143)
HSLhsl(314, 59%, 43%)
HSVhsv(314, 74%, 67%)
CMYKcmyk(0%, 73.8%, 16.9%, 32.5%)
CIE-LABlab(42.20, 60.29, -25.63)
CIE-LCHlch(42.20, 65.51, 336.97°)
OKLaboklab(52.72% 0.1789 -0.0694)
OKLCHoklch(52.72% 0.192 338.8)
XYZxyz(22.9101, 12.6328, 27.2131)
Luminance0.1263 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2D8F #2DAC4A
analogous
#8A2DAC #AC2D8F #AC2D4F
triadic
#AC2D8F #8FAC2D #2D8FAC
tetradic
#AC2D8F #AC8A2D #2DAC4A #2D4FAC
square
#AC2D8F #AC8A2D #2DAC4A #2D4FAC
split-complementary
#AC2D8F #4FAC2D #2DAC8A
monochromatic
#4B143E #7B2067 #AC2D8F #CF47B0 #DC78C5

Accessibility & contrast

On white

5.96
#AC2D8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#AC2D8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2D8F
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2D8F#FFFFFF#000000##FFFFFF
##AC2D8F1.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345792
Deuteranopia (green-blind)
#5E6B8C
Tritanopia (blue-blind)
#B6335B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ac2d8f;
/* rgb */ color: rgb(172, 45, 143);
/* oklch */ color: oklch(52.7% 0.192 338.8);
Tailwind
colors: {
  custom: {
    50: '#c872b0',
    500: '#ac2d8f',
    950: '#000000',
  },
}
SCSS
$custom: #ac2d8f;
$custom-light: #c872b0;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2d8f",
  "rgb": {
    "r": 172,
    "g": 45,
    "b": 143
  },
  "hsl": {
    "h": 313.701,
    "s": 58.525,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52717,
    "c": 0.19191,
    "h": 338.8
  },
  "luminance": 0.12631
}

Semantic roles & 50–950 ramp

primary
#AC2D8F
secondary
#71C484
accent
#E26A46
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AC2D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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