#AC248B#AC248B

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

Color values

HEX#AC248B
RGBrgb(172, 36, 139)
HSLhsl(315, 65%, 41%)
HSVhsv(315, 79%, 67%)
CMYKcmyk(0%, 79.1%, 19.2%, 32.5%)
CIE-LABlab(41.05, 62.48, -24.98)
CIE-LCHlch(41.05, 67.29, 338.21°)
OKLaboklab(51.83% 0.1867 -0.0675)
OKLCHoklch(51.83% 0.199 340.1)
XYZxyz(22.3050, 11.8988, 25.5431)
Luminance0.1190 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC248B #24AC45
analogous
#8924AC #AC248B #AC2447
triadic
#AC248B #8BAC24 #248BAC
tetradic
#AC248B #AC8924 #24AC45 #2447AC
square
#AC248B #AC8924 #24AC45 #2447AC
split-complementary
#AC248B #47AC24 #24AC89
monochromatic
#470F39 #791962 #AC248B #D538AF #E06AC3

Accessibility & contrast

On white

6.21
#AC248B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#AC248B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC248B
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC248B#FFFFFF#000000##FFFFFF
##AC248B1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F538E
Deuteranopia (green-blind)
#5C6888
Tritanopia (blue-blind)
#B62956
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ac248b;
/* rgb */ color: rgb(172, 36, 139);
/* oklch */ color: oklch(51.8% 0.199 340.1);
Tailwind
colors: {
  custom: {
    50: '#c96fad',
    500: '#ac248b',
    950: '#000000',
  },
}
SCSS
$custom: #ac248b;
$custom-light: #c96fad;
$custom-dark: #000000;
JSON
{
  "hex": "#ac248b",
  "rgb": {
    "r": 172,
    "g": 36,
    "b": 139
  },
  "hsl": {
    "h": 314.559,
    "s": 65.385,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51826,
    "c": 0.19856,
    "h": 340.1
  },
  "luminance": 0.11896
}

Semantic roles & 50–950 ramp

primary
#AC248B
secondary
#66C67D
accent
#E8683F
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AC248B

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

Preview Lab → · Contrast checker → · Palette generator →

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