#AC2866#AC2866

#AC2866 is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.6% C 0.175 H 357.1°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#AC2866
RGBrgb(172, 40, 102)
HSLhsl(332, 62%, 42%)
HSVhsv(332, 77%, 67%)
CMYKcmyk(0%, 76.7%, 40.7%, 32.5%)
CIE-LABlab(40.00, 56.87, -3.61)
CIE-LCHlch(40.00, 56.99, 356.36°)
OKLaboklab(50.58% 0.1748 -0.0088)
OKLCHoklch(50.58% 0.175 357.1)
XYZxyz(20.1718, 11.2501, 13.6771)
Luminance0.1125 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2866 #28AC6E
analogous
#AC28A8 #AC2866 #AC2C28
triadic
#AC2866 #66AC28 #2866AC
tetradic
#AC2866 #A8AC28 #28AC6E #2C28AC
square
#AC2866 #A8AC28 #28AC6E #2C28AC
split-complementary
#AC2866 #28AC2C #28A8AC
monochromatic
#49112B #7A1C49 #AC2866 #D23F84 #DE71A4

Accessibility & contrast

On white

6.46
#AC2866 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#AC2866 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2866
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2866#FFFFFF#000000##FFFFFF
##AC28661.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444E68
Deuteranopia (green-blind)
#686763
Tritanopia (blue-blind)
#BA1444
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ac2866;
/* rgb */ color: rgb(172, 40, 102);
/* oklch */ color: oklch(50.6% 0.175 357.1);
Tailwind
colors: {
  custom: {
    50: '#ca6f91',
    500: '#ac2866',
    950: '#000000',
  },
}
SCSS
$custom: #ac2866;
$custom-light: #ca6f91;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2866",
  "rgb": {
    "r": 172,
    "g": 40,
    "b": 102
  },
  "hsl": {
    "h": 331.818,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50577,
    "c": 0.17499,
    "h": 357.1
  },
  "luminance": 0.11248
}

Semantic roles & 50–950 ramp

primary
#AC2866
secondary
#6BC59B
accent
#E59942
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AC2866

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

Preview Lab → · Contrast checker → · Palette generator →

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