#AC258D#AC258D

#AC258D is a mid, vivid pink. Relative luminance 0.120; OKLCH L 52.0% C 0.199 H 339.4°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#AC258D
RGBrgb(172, 37, 141)
HSLhsl(314, 65%, 41%)
HSVhsv(314, 78%, 67%)
CMYKcmyk(0%, 78.5%, 18%, 32.5%)
CIE-LABlab(41.25, 62.47, -25.90)
CIE-LCHlch(41.25, 67.63, 337.48°)
OKLaboklab(52% 0.1861 -0.0701)
OKLCHoklch(52% 0.199 339.4)
XYZxyz(22.4832, 12.0191, 26.3300)
Luminance0.1202 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC258D #25AC44
analogous
#8725AC #AC258D #AC2549
triadic
#AC258D #8DAC25 #258DAC
tetradic
#AC258D #AC8725 #25AC44 #2549AC
square
#AC258D #AC8725 #25AC44 #2549AC
split-complementary
#AC258D #49AC25 #25AC87
monochromatic
#470F3A #7A1A64 #AC258D #D53AB1 #DF6CC5

Accessibility & contrast

On white

6.17
#AC258D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#AC258D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC258D
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC258D#FFFFFF#000000##FFFFFF
##AC258D1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5490
Deuteranopia (green-blind)
#5C698A
Tritanopia (blue-blind)
#B62B57
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ac258d;
/* rgb */ color: rgb(172, 37, 141);
/* oklch */ color: oklch(52.0% 0.199 339.4);
Tailwind
colors: {
  custom: {
    50: '#c96fae',
    500: '#ac258d',
    950: '#000000',
  },
}
SCSS
$custom: #ac258d;
$custom-light: #c96fae;
$custom-dark: #000000;
JSON
{
  "hex": "#ac258d",
  "rgb": {
    "r": 172,
    "g": 37,
    "b": 141
  },
  "hsl": {
    "h": 313.778,
    "s": 64.593,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51995,
    "c": 0.19889,
    "h": 339.4
  },
  "luminance": 0.12017
}

Semantic roles & 50–950 ramp

primary
#AC258D
secondary
#67C67D
accent
#E86740
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AC258D

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

Preview Lab → · Contrast checker → · Palette generator →

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