#AC268A#AC268A

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

Color values

HEX#AC268A
RGBrgb(172, 38, 138)
HSLhsl(315, 64%, 41%)
HSVhsv(315, 78%, 67%)
CMYKcmyk(0%, 77.9%, 19.8%, 32.5%)
CIE-LABlab(41.21, 61.78, -24.13)
CIE-LCHlch(41.21, 66.32, 338.66°)
OKLaboklab(51.92% 0.1849 -0.0651)
OKLCHoklch(51.92% 0.196 340.6)
XYZxyz(22.2945, 11.9941, 25.1808)
Luminance0.1199 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC268A #26AC48
analogous
#8B26AC #AC268A #AC2647
triadic
#AC268A #8AAC26 #268AAC
tetradic
#AC268A #AC8B26 #26AC48 #2647AC
square
#AC268A #AC8B26 #26AC48 #2647AC
split-complementary
#AC268A #47AC26 #26AC8B
monochromatic
#48103A #7A1B62 #AC268A #D43BAD #DF6EC2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AC268A#FFFFFF#000000##FFFFFF
##AC268A1.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)
#31548D
Deuteranopia (green-blind)
#5D6987
Tritanopia (blue-blind)
#B72A56
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ac268a;
/* rgb */ color: rgb(172, 38, 138);
/* oklch */ color: oklch(51.9% 0.196 340.6);
Tailwind
colors: {
  custom: {
    50: '#c970ac',
    500: '#ac268a',
    950: '#000000',
  },
}
SCSS
$custom: #ac268a;
$custom-light: #c970ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ac268a",
  "rgb": {
    "r": 172,
    "g": 38,
    "b": 138
  },
  "hsl": {
    "h": 315.224,
    "s": 63.81,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51921,
    "c": 0.196,
    "h": 340.6
  },
  "luminance": 0.11992
}

Semantic roles & 50–950 ramp

primary
#AC268A
secondary
#68C580
accent
#E76B41
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AC268A

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

Preview Lab → · Contrast checker → · Palette generator →

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