#AC238A#AC238A

#AC238A is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.7% C 0.199 H 340.5°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#AC238A
RGBrgb(172, 35, 138)
HSLhsl(315, 66%, 41%)
HSVhsv(315, 80%, 67%)
CMYKcmyk(0%, 79.7%, 19.8%, 32.5%)
CIE-LABlab(40.91, 62.62, -24.59)
CIE-LCHlch(40.91, 67.28, 338.56°)
OKLaboklab(51.71% 0.1874 -0.0664)
OKLCHoklch(51.71% 0.199 340.5)
XYZxyz(22.2024, 11.8100, 25.1501)
Luminance0.1181 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC238A #23AC45
analogous
#8A23AC #AC238A #AC2345
triadic
#AC238A #8AAC23 #238AAC
tetradic
#AC238A #AC8A23 #23AC45 #2345AC
square
#AC238A #AC8A23 #23AC45 #2345AC
split-complementary
#AC238A #45AC23 #23AC8A
monochromatic
#460E38 #791961 #AC238A #D636AE #E069C3

Accessibility & contrast

On white

6.25
#AC238A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#AC238A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC238A
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC238A#FFFFFF#000000##FFFFFF
##AC238A1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F538D
Deuteranopia (green-blind)
#5C6887
Tritanopia (blue-blind)
#B72855
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ac238a;
/* rgb */ color: rgb(172, 35, 138);
/* oklch */ color: oklch(51.7% 0.199 340.5);
Tailwind
colors: {
  custom: {
    50: '#c96eac',
    500: '#ac238a',
    950: '#000000',
  },
}
SCSS
$custom: #ac238a;
$custom-light: #c96eac;
$custom-dark: #000000;
JSON
{
  "hex": "#ac238a",
  "rgb": {
    "r": 172,
    "g": 35,
    "b": 138
  },
  "hsl": {
    "h": 314.891,
    "s": 66.184,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51708,
    "c": 0.19885,
    "h": 340.5
  },
  "luminance": 0.11808
}

Semantic roles & 50–950 ramp

primary
#AC238A
secondary
#64C67D
accent
#E9693F
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AC238A

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

Preview Lab → · Contrast checker → · Palette generator →

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