#AC248C#AC248C

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

Color values

HEX#AC248C
RGBrgb(172, 36, 140)
HSLhsl(314, 65%, 41%)
HSVhsv(314, 79%, 67%)
CMYKcmyk(0%, 79.1%, 18.6%, 32.5%)
CIE-LABlab(41.10, 62.62, -25.52)
CIE-LCHlch(41.10, 67.62, 337.83°)
OKLaboklab(51.88% 0.1869 -0.069)
OKLCHoklch(51.88% 0.199 339.7)
XYZxyz(22.3784, 11.9281, 25.9297)
Luminance0.1193 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC248C #24AC44
analogous
#8824AC #AC248C #AC2448
triadic
#AC248C #8CAC24 #248CAC
tetradic
#AC248C #AC8824 #24AC44 #2448AC
square
#AC248C #AC8824 #24AC44 #2448AC
split-complementary
#AC248C #48AC24 #24AC88
monochromatic
#470F3A #791963 #AC248C #D538B0 #E06AC4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AC248C#FFFFFF#000000##FFFFFF
##AC248C1.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)
#2E538F
Deuteranopia (green-blind)
#5C6989
Tritanopia (blue-blind)
#B62A56
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ac248c;
/* rgb */ color: rgb(172, 36, 140);
/* oklch */ color: oklch(51.9% 0.199 339.7);
Tailwind
colors: {
  custom: {
    50: '#c96fae',
    500: '#ac248c',
    950: '#000000',
  },
}
SCSS
$custom: #ac248c;
$custom-light: #c96fae;
$custom-dark: #000000;
JSON
{
  "hex": "#ac248c",
  "rgb": {
    "r": 172,
    "g": 36,
    "b": 140
  },
  "hsl": {
    "h": 314.118,
    "s": 65.385,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51875,
    "c": 0.1992,
    "h": 339.7
  },
  "luminance": 0.11926
}

Semantic roles & 50–950 ramp

primary
#AC248C
secondary
#66C67C
accent
#E8673F
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AC248C

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

Preview Lab → · Contrast checker → · Palette generator →

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