#AC258C#AC258C

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

Color values

HEX#AC258C
RGBrgb(172, 37, 140)
HSLhsl(314, 65%, 41%)
HSVhsv(314, 78%, 67%)
CMYKcmyk(0%, 78.5%, 18.6%, 32.5%)
CIE-LABlab(41.20, 62.34, -25.36)
CIE-LCHlch(41.20, 67.30, 337.86°)
OKLaboklab(51.95% 0.186 -0.0686)
OKLCHoklch(51.95% 0.198 339.8)
XYZxyz(22.4091, 11.9895, 25.9399)
Luminance0.1199 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC258C #25AC45
analogous
#8825AC #AC258C #AC2548
triadic
#AC258C #8CAC25 #258CAC
tetradic
#AC258C #AC8825 #25AC45 #2548AC
square
#AC258C #AC8825 #25AC45 #2548AC
split-complementary
#AC258C #48AC25 #25AC88
monochromatic
#470F3A #7A1A63 #AC258C #D53AB0 #DF6CC4

Accessibility & contrast

On white

6.18
#AC258C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AC258C
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC258C#FFFFFF#000000##FFFFFF
##AC258C1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F548F
Deuteranopia (green-blind)
#5C6989
Tritanopia (blue-blind)
#B62A57
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ac258c;
/* rgb */ color: rgb(172, 37, 140);
/* oklch */ color: oklch(51.9% 0.198 339.8);
Tailwind
colors: {
  custom: {
    50: '#c96fae',
    500: '#ac258c',
    950: '#000000',
  },
}
SCSS
$custom: #ac258c;
$custom-light: #c96fae;
$custom-dark: #000000;
JSON
{
  "hex": "#ac258c",
  "rgb": {
    "r": 172,
    "g": 37,
    "b": 140
  },
  "hsl": {
    "h": 314.222,
    "s": 64.593,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51946,
    "c": 0.19825,
    "h": 339.8
  },
  "luminance": 0.11987
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AC258C

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

Preview Lab → · Contrast checker → · Palette generator →

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