#AC258A#AC258A

#AC258A is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.8% C 0.197 H 340.6°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#AC258A
RGBrgb(172, 37, 138)
HSLhsl(315, 65%, 41%)
HSVhsv(315, 78%, 67%)
CMYKcmyk(0%, 78.5%, 19.8%, 32.5%)
CIE-LABlab(41.11, 62.07, -24.29)
CIE-LCHlch(41.11, 66.65, 338.63°)
OKLaboklab(51.85% 0.1858 -0.0655)
OKLCHoklch(51.85% 0.197 340.6)
XYZxyz(22.2630, 11.9311, 25.1703)
Luminance0.1193 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC258A #25AC47
analogous
#8A25AC #AC258A #AC2546
triadic
#AC258A #8AAC25 #258AAC
tetradic
#AC258A #AC8A25 #25AC47 #2546AC
square
#AC258A #AC8A25 #25AC47 #2546AC
split-complementary
#AC258A #46AC25 #25AC8A
monochromatic
#470F39 #7A1A62 #AC258A #D53AAE #DF6CC2

Accessibility & contrast

On white

6.20
#AC258A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#AC258A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC258A
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC258A#FFFFFF#000000##FFFFFF
##AC258A1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31538D
Deuteranopia (green-blind)
#5D6987
Tritanopia (blue-blind)
#B72956
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ac258a;
/* rgb */ color: rgb(172, 37, 138);
/* oklch */ color: oklch(51.8% 0.197 340.6);
Tailwind
colors: {
  custom: {
    50: '#c96fac',
    500: '#ac258a',
    950: '#000000',
  },
}
SCSS
$custom: #ac258a;
$custom-light: #c96fac;
$custom-dark: #000000;
JSON
{
  "hex": "#ac258a",
  "rgb": {
    "r": 172,
    "g": 37,
    "b": 138
  },
  "hsl": {
    "h": 315.111,
    "s": 64.593,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51848,
    "c": 0.19697,
    "h": 340.6
  },
  "luminance": 0.11929
}

Semantic roles & 50–950 ramp

primary
#AC258A
secondary
#67C67F
accent
#E86A40
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AC258A

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

Preview Lab → · Contrast checker → · Palette generator →

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