#AC288E#AC288E

#AC288E is a mid, vivid pink. Relative luminance 0.122; OKLCH L 52.3% C 0.197 H 339.0°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#AC288E
RGBrgb(172, 40, 142)
HSLhsl(314, 62%, 42%)
HSVhsv(314, 77%, 67%)
CMYKcmyk(0%, 76.7%, 17.4%, 32.5%)
CIE-LABlab(41.60, 61.73, -25.96)
CIE-LCHlch(41.60, 66.97, 337.19°)
OKLaboklab(52.26% 0.1836 -0.0703)
OKLCHoklch(52.26% 0.197 339)
XYZxyz(22.6551, 12.2435, 26.7560)
Luminance0.1224 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC288E #28AC46
analogous
#8828AC #AC288E #AC284C
triadic
#AC288E #8EAC28 #288EAC
tetradic
#AC288E #AC8828 #28AC46 #284CAC
square
#AC288E #AC8828 #28AC46 #284CAC
split-complementary
#AC288E #4CAC28 #28AC88
monochromatic
#49113C #7A1C65 #AC288E #D23FB1 #DE71C5

Accessibility & contrast

On white

6.09
#AC288E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#AC288E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC288E
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC288E#FFFFFF#000000##FFFFFF
##AC288E1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305591
Deuteranopia (green-blind)
#5C698B
Tritanopia (blue-blind)
#B62E59
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ac288e;
/* rgb */ color: rgb(172, 40, 142);
/* oklch */ color: oklch(52.3% 0.197 339.0);
Tailwind
colors: {
  custom: {
    50: '#c970af',
    500: '#ac288e',
    950: '#000000',
  },
}
SCSS
$custom: #ac288e;
$custom-light: #c970af;
$custom-dark: #000000;
JSON
{
  "hex": "#ac288e",
  "rgb": {
    "r": 172,
    "g": 40,
    "b": 142
  },
  "hsl": {
    "h": 313.636,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52265,
    "c": 0.19659,
    "h": 339
  },
  "luminance": 0.12241
}

Semantic roles & 50–950 ramp

primary
#AC288E
secondary
#6BC57F
accent
#E56742
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AC288E

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

Preview Lab → · Contrast checker → · Palette generator →

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