#AC2B88#AC2B88

#AC2B88 is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.2% C 0.190 H 341.6°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#AC2B88
RGBrgb(172, 43, 136)
HSLhsl(317, 60%, 42%)
HSVhsv(317, 75%, 67%)
CMYKcmyk(0%, 75%, 20.9%, 32.5%)
CIE-LABlab(41.66, 59.97, -22.21)
CIE-LCHlch(41.66, 63.95, 339.68°)
OKLaboklab(52.22% 0.1799 -0.0597)
OKLCHoklch(52.22% 0.19 341.6)
XYZxyz(22.3218, 12.2783, 24.4822)
Luminance0.1228 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2B88 #2BAC4F
analogous
#902BAC #AC2B88 #AC2B48
triadic
#AC2B88 #88AC2B #2B88AC
tetradic
#AC2B88 #AC902B #2BAC4F #2B48AC
square
#AC2B88 #AC902B #2BAC4F #2B48AC
split-complementary
#AC2B88 #48AC2B #2BAC90
monochromatic
#4A133B #7B1F61 #AC2B88 #D044A9 #DC75C0

Accessibility & contrast

On white

6.08
#AC2B88 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#AC2B88 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2B88
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2B88#FFFFFF#000000##FFFFFF
##AC2B881.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37558B
Deuteranopia (green-blind)
#606A85
Tritanopia (blue-blind)
#B72D56
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ac2b88;
/* rgb */ color: rgb(172, 43, 136);
/* oklch */ color: oklch(52.2% 0.190 341.6);
Tailwind
colors: {
  custom: {
    50: '#c971ab',
    500: '#ac2b88',
    950: '#000000',
  },
}
SCSS
$custom: #ac2b88;
$custom-light: #c971ab;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2b88",
  "rgb": {
    "r": 172,
    "g": 43,
    "b": 136
  },
  "hsl": {
    "h": 316.744,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52215,
    "c": 0.18954,
    "h": 341.6
  },
  "luminance": 0.12276
}

Semantic roles & 50–950 ramp

primary
#AC2B88
secondary
#6FC487
accent
#E37145
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AC2B88

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

Preview Lab → · Contrast checker → · Palette generator →

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