#AC2978#AC2978

#AC2978 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.3% C 0.182 H 348.6°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#AC2978
RGBrgb(172, 41, 120)
HSLhsl(324, 62%, 42%)
HSVhsv(324, 76%, 67%)
CMYKcmyk(0%, 76.2%, 30.2%, 32.5%)
CIE-LABlab(40.76, 58.56, -13.73)
CIE-LCHlch(40.76, 60.15, 346.81°)
OKLaboklab(51.35% 0.1787 -0.036)
OKLCHoklch(51.35% 0.182 348.6)
XYZxyz(21.1975, 11.7150, 18.9106)
Luminance0.1171 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2978 #29AC5D
analogous
#9F29AC #AC2978 #AC2937
triadic
#AC2978 #78AC29 #2978AC
tetradic
#AC2978 #AC9F29 #29AC5D #2937AC
square
#AC2978 #AC9F29 #29AC5D #2937AC
split-complementary
#AC2978 #37AC29 #29AC9F
monochromatic
#491133 #7B1D56 #AC2978 #D24198 #DD72B3

Accessibility & contrast

On white

6.28
#AC2978 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#AC2978 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2978
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2978#FFFFFF#000000##FFFFFF
##AC29781.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E517A
Deuteranopia (green-blind)
#646875
Tritanopia (blue-blind)
#B9224D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ac2978;
/* rgb */ color: rgb(172, 41, 120);
/* oklch */ color: oklch(51.3% 0.182 348.6);
Tailwind
colors: {
  custom: {
    50: '#c9709f',
    500: '#ac2978',
    950: '#000000',
  },
}
SCSS
$custom: #ac2978;
$custom-light: #c9709f;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2978",
  "rgb": {
    "r": 172,
    "g": 41,
    "b": 120
  },
  "hsl": {
    "h": 323.817,
    "s": 61.502,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51346,
    "c": 0.18232,
    "h": 348.6
  },
  "luminance": 0.11713
}

Semantic roles & 50–950 ramp

primary
#AC2978
secondary
#6CC58F
accent
#E58343
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080E
muted
#827B7E

Preview Lab

Preview with #AC2978

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

Preview Lab → · Contrast checker → · Palette generator →

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