#AC2894#AC2894

#AC2894 is a mid, highly saturated pink. Relative luminance 0.124; OKLCH L 52.6% C 0.201 H 336.7°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#AC2894
RGBrgb(172, 40, 148)
HSLhsl(311, 62%, 42%)
HSVhsv(311, 77%, 67%)
CMYKcmyk(0%, 76.7%, 14%, 32.5%)
CIE-LABlab(41.89, 62.59, -29.15)
CIE-LCHlch(41.89, 69.04, 335.02°)
OKLaboklab(52.57% 0.1842 -0.0794)
OKLCHoklch(52.57% 0.201 336.7)
XYZxyz(23.1178, 12.4285, 29.1927)
Luminance0.1243 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC2894 #28AC40
analogous
#8228AC #AC2894 #AC2852
triadic
#AC2894 #94AC28 #2894AC
tetradic
#AC2894 #AC8228 #28AC40 #2852AC
square
#AC2894 #AC8228 #28AC40 #2852AC
split-complementary
#AC2894 #52AC28 #28AC82
monochromatic
#49113F #7A1C69 #AC2894 #D23FB8 #DE71CA

Accessibility & contrast

On white

6.03
#AC2894 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#AC2894 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC2894
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC2894#FFFFFF#000000##FFFFFF
##AC28941.006.033.496.03
#FFFFFF6.031.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5697
Deuteranopia (green-blind)
#5A6A91
Tritanopia (blue-blind)
#B5315C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ac2894;
/* rgb */ color: rgb(172, 40, 148);
/* oklch */ color: oklch(52.6% 0.201 336.7);
Tailwind
colors: {
  custom: {
    50: '#c971b4',
    500: '#ac2894',
    950: '#000000',
  },
}
SCSS
$custom: #ac2894;
$custom-light: #c971b4;
$custom-dark: #000000;
JSON
{
  "hex": "#ac2894",
  "rgb": {
    "r": 172,
    "g": 40,
    "b": 148
  },
  "hsl": {
    "h": 310.909,
    "s": 62.264,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52567,
    "c": 0.20061,
    "h": 336.7
  },
  "luminance": 0.12426
}

Semantic roles & 50–950 ramp

primary
#AC2894
secondary
#6BC57B
accent
#E56042
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AC2894

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

Preview Lab → · Contrast checker → · Palette generator →

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