#AC2B8A#AC2B8A

#AC2B8A is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.3% C 0.191 H 340.8°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#AC2B8A
RGBrgb(172, 43, 138)
HSLhsl(316, 60%, 42%)
HSVhsv(316, 75%, 67%)
CMYKcmyk(0%, 75%, 19.8%, 32.5%)
CIE-LABlab(41.74, 60.25, -23.30)
CIE-LCHlch(41.74, 64.59, 338.86°)
OKLaboklab(52.31% 0.1802 -0.0628)
OKLCHoklch(52.31% 0.191 340.8)
XYZxyz(22.4653, 12.3356, 25.2377)
Luminance0.1233 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2B8A #2BAC4D
analogous
#8E2BAC #AC2B8A #AC2B4A
triadic
#AC2B8A #8AAC2B #2B8AAC
tetradic
#AC2B8A #AC8E2B #2BAC4D #2B4AAC
square
#AC2B8A #AC8E2B #2BAC4D #2B4AAC
split-complementary
#AC2B8A #4AAC2B #2BAC8E
monochromatic
#4A133B #7B1F63 #AC2B8A #D044AB #DC75C1

Accessibility & contrast

On white

6.06
#AC2B8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#AC2B8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2B8A
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2B8A#FFFFFF#000000##FFFFFF
##AC2B8A1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35558D
Deuteranopia (green-blind)
#5F6A87
Tritanopia (blue-blind)
#B72E57
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ac2b8a;
/* rgb */ color: rgb(172, 43, 138);
/* oklch */ color: oklch(52.3% 0.191 340.8);
Tailwind
colors: {
  custom: {
    50: '#c971ac',
    500: '#ac2b8a',
    950: '#000000',
  },
}
SCSS
$custom: #ac2b8a;
$custom-light: #c971ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2b8a",
  "rgb": {
    "r": 172,
    "g": 43,
    "b": 138
  },
  "hsl": {
    "h": 315.814,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52309,
    "c": 0.19082,
    "h": 340.8
  },
  "luminance": 0.12333
}

Semantic roles & 50–950 ramp

primary
#AC2B8A
secondary
#6FC485
accent
#E36E45
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AC2B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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