#AC258B#AC258B

#AC258B is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.9% C 0.198 H 340.2°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#AC258B
RGBrgb(172, 37, 139)
HSLhsl(315, 65%, 41%)
HSVhsv(315, 78%, 67%)
CMYKcmyk(0%, 78.5%, 19.2%, 32.5%)
CIE-LABlab(41.15, 62.20, -24.83)
CIE-LCHlch(41.15, 66.97, 338.24°)
OKLaboklab(51.9% 0.1859 -0.0671)
OKLCHoklch(51.9% 0.198 340.2)
XYZxyz(22.3357, 11.9601, 25.5533)
Luminance0.1196 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC258B #25AC46
analogous
#8925AC #AC258B #AC2547
triadic
#AC258B #8BAC25 #258BAC
tetradic
#AC258B #AC8925 #25AC46 #2547AC
square
#AC258B #AC8925 #25AC46 #2547AC
split-complementary
#AC258B #47AC25 #25AC89
monochromatic
#470F3A #7A1A62 #AC258B #D53AAF #DF6CC3

Accessibility & contrast

On white

6.19
#AC258B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AC258B
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC258B#FFFFFF#000000##FFFFFF
##AC258B1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30538E
Deuteranopia (green-blind)
#5D6988
Tritanopia (blue-blind)
#B62A56
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ac258b;
/* rgb */ color: rgb(172, 37, 139);
/* oklch */ color: oklch(51.9% 0.198 340.2);
Tailwind
colors: {
  custom: {
    50: '#c96fad',
    500: '#ac258b',
    950: '#000000',
  },
}
SCSS
$custom: #ac258b;
$custom-light: #c96fad;
$custom-dark: #000000;
JSON
{
  "hex": "#ac258b",
  "rgb": {
    "r": 172,
    "g": 37,
    "b": 139
  },
  "hsl": {
    "h": 314.667,
    "s": 64.593,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51897,
    "c": 0.19761,
    "h": 340.2
  },
  "luminance": 0.11958
}

Semantic roles & 50–950 ramp

primary
#AC258B
secondary
#67C67E
accent
#E86940
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AC258B

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

Preview Lab → · Contrast checker → · Palette generator →

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