#AC288D#AC288D

#AC288D is a mid, vivid pink. Relative luminance 0.122; OKLCH L 52.2% C 0.196 H 339.4°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#AC288D
RGBrgb(172, 40, 141)
HSLhsl(314, 62%, 42%)
HSVhsv(314, 77%, 67%)
CMYKcmyk(0%, 76.7%, 18%, 32.5%)
CIE-LABlab(41.55, 61.60, -25.42)
CIE-LCHlch(41.55, 66.64, 337.57°)
OKLaboklab(52.22% 0.1835 -0.0688)
OKLCHoklch(52.22% 0.196 339.4)
XYZxyz(22.5804, 12.2136, 26.3624)
Luminance0.1221 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC288D #28AC47
analogous
#8928AC #AC288D #AC284B
triadic
#AC288D #8DAC28 #288DAC
tetradic
#AC288D #AC8928 #28AC47 #284BAC
square
#AC288D #AC8928 #28AC47 #284BAC
split-complementary
#AC288D #4BAC28 #28AC89
monochromatic
#49113C #7A1C64 #AC288D #D23FB0 #DE71C4

Accessibility & contrast

On white

6.10
#AC288D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#AC288D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC288D
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC288D#FFFFFF#000000##FFFFFF
##AC288D1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315590
Deuteranopia (green-blind)
#5D698A
Tritanopia (blue-blind)
#B62D58
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ac288d;
/* rgb */ color: rgb(172, 40, 141);
/* oklch */ color: oklch(52.2% 0.196 339.4);
Tailwind
colors: {
  custom: {
    50: '#c970ae',
    500: '#ac288d',
    950: '#000000',
  },
}
SCSS
$custom: #ac288d;
$custom-light: #c970ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ac288d",
  "rgb": {
    "r": 172,
    "g": 40,
    "b": 141
  },
  "hsl": {
    "h": 314.091,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52216,
    "c": 0.19593,
    "h": 339.4
  },
  "luminance": 0.12211
}

Semantic roles & 50–950 ramp

primary
#AC288D
secondary
#6BC580
accent
#E56942
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AC288D

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

Preview Lab → · Contrast checker → · Palette generator →

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