#AC248A#AC248A

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

Color values

HEX#AC248A
RGBrgb(172, 36, 138)
HSLhsl(315, 65%, 41%)
HSVhsv(315, 79%, 67%)
CMYKcmyk(0%, 79.1%, 19.8%, 32.5%)
CIE-LABlab(41.01, 62.35, -24.44)
CIE-LCHlch(41.01, 66.97, 338.60°)
OKLaboklab(51.78% 0.1866 -0.066)
OKLCHoklch(51.78% 0.198 340.5)
XYZxyz(22.2323, 11.8697, 25.1601)
Luminance0.1187 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC248A #24AC46
analogous
#8A24AC #AC248A #AC2446
triadic
#AC248A #8AAC24 #248AAC
tetradic
#AC248A #AC8A24 #24AC46 #2446AC
square
#AC248A #AC8A24 #24AC46 #2446AC
split-complementary
#AC248A #46AC24 #24AC8A
monochromatic
#470F39 #791961 #AC248A #D538AE #E06AC3

Accessibility & contrast

On white

6.23
#AC248A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#AC248A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC248A
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC248A#FFFFFF#000000##FFFFFF
##AC248A1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30538D
Deuteranopia (green-blind)
#5D6887
Tritanopia (blue-blind)
#B72855
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ac248a;
/* rgb */ color: rgb(172, 36, 138);
/* oklch */ color: oklch(51.8% 0.198 340.5);
Tailwind
colors: {
  custom: {
    50: '#c96fac',
    500: '#ac248a',
    950: '#000000',
  },
}
SCSS
$custom: #ac248a;
$custom-light: #c96fac;
$custom-dark: #000000;
JSON
{
  "hex": "#ac248a",
  "rgb": {
    "r": 172,
    "g": 36,
    "b": 138
  },
  "hsl": {
    "h": 315,
    "s": 65.385,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51777,
    "c": 0.19793,
    "h": 340.5
  },
  "luminance": 0.11867
}

Semantic roles & 50–950 ramp

primary
#AC248A
secondary
#66C67E
accent
#E86A3F
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AC248A

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

Preview Lab → · Contrast checker → · Palette generator →

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