#AC2851#AC2851

#AC2851 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 49.9% C 0.169 H 7.7°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#AC2851
RGBrgb(172, 40, 81)
HSLhsl(341, 62%, 42%)
HSVhsv(341, 77%, 67%)
CMYKcmyk(0%, 76.7%, 52.9%, 32.5%)
CIE-LABlab(39.39, 54.94, 8.79)
CIE-LCHlch(39.39, 55.64, 9.09°)
OKLaboklab(49.93% 0.1674 0.0226)
OKLCHoklch(49.93% 0.169 7.7)
XYZxyz(19.2590, 10.8850, 8.8699)
Luminance0.1088 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2851 #28AC83
analogous
#AC2893 #AC2851 #AC4128
triadic
#AC2851 #51AC28 #2851AC
tetradic
#AC2851 #93AC28 #28AC83 #4128AC
square
#AC2851 #93AC28 #28AC83 #4128AC
split-complementary
#AC2851 #28AC41 #2893AC
monochromatic
#491122 #7A1C3A #AC2851 #D23F6D #DE7192

Accessibility & contrast

On white

6.61
#AC2851 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#AC2851 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2851
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2851#FFFFFF#000000##FFFFFF
##AC28511.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4C52
Deuteranopia (green-blind)
#6C664E
Tritanopia (blue-blind)
#BC003A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ac2851;
/* rgb */ color: rgb(172, 40, 81);
/* oklch */ color: oklch(49.9% 0.169 7.7);
Tailwind
colors: {
  custom: {
    50: '#cb6e81',
    500: '#ac2851',
    950: '#000000',
  },
}
SCSS
$custom: #ac2851;
$custom-light: #cb6e81;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2851",
  "rgb": {
    "r": 172,
    "g": 40,
    "b": 81
  },
  "hsl": {
    "h": 341.364,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.49927,
    "c": 0.1689,
    "h": 7.7
  },
  "luminance": 0.10882
}

Semantic roles & 50–950 ramp

primary
#AC2851
secondary
#6BC5A9
accent
#E5B342
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#14080A
muted
#837B7C

Preview Lab

Preview with #AC2851

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

Preview Lab → · Contrast checker → · Palette generator →

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