#AC2751#AC2751

#AC2751 is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.8% C 0.170 H 7.5°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#AC2751
RGBrgb(172, 39, 81)
HSLhsl(341, 63%, 41%)
HSVhsv(341, 77%, 67%)
CMYKcmyk(0%, 77.3%, 52.9%, 32.5%)
CIE-LABlab(39.27, 55.26, 8.64)
CIE-LCHlch(39.27, 55.93, 8.88°)
OKLaboklab(49.84% 0.1684 0.0222)
OKLCHoklch(49.84% 0.17 7.5)
XYZxyz(19.2257, 10.8185, 8.8588)
Luminance0.1082 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2751 #27AC82
analogous
#AC2794 #AC2751 #AC4027
triadic
#AC2751 #51AC27 #2751AC
tetradic
#AC2751 #94AC27 #27AC82 #4027AC
square
#AC2751 #94AC27 #27AC82 #4027AC
split-complementary
#AC2751 #27AC40 #2794AC
monochromatic
#481022 #7A1C3A #AC2751 #D33D6C #DE6F92

Accessibility & contrast

On white

6.64
#AC2751 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#AC2751 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2751
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2751#FFFFFF#000000##FFFFFF
##AC27511.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494C52
Deuteranopia (green-blind)
#6C664E
Tritanopia (blue-blind)
#BC0039
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #ac2751;
/* rgb */ color: rgb(172, 39, 81);
/* oklch */ color: oklch(49.8% 0.170 7.5);
Tailwind
colors: {
  custom: {
    50: '#cb6e81',
    500: '#ac2751',
    950: '#000000',
  },
}
SCSS
$custom: #ac2751;
$custom-light: #cb6e81;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2751",
  "rgb": {
    "r": 172,
    "g": 39,
    "b": 81
  },
  "hsl": {
    "h": 341.053,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49844,
    "c": 0.16987,
    "h": 7.5
  },
  "luminance": 0.10816
}

Semantic roles & 50–950 ramp

primary
#AC2751
secondary
#6AC5A8
accent
#E6B242
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#14080A
muted
#837B7C

Preview Lab

Preview with #AC2751

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

Preview Lab → · Contrast checker → · Palette generator →

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