#AC278E#AC278E

#AC278E is a mid, vivid pink. Relative luminance 0.122; OKLCH L 52.2% C 0.198 H 339.0°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#AC278E
RGBrgb(172, 39, 142)
HSLhsl(314, 63%, 41%)
HSVhsv(314, 77%, 67%)
CMYKcmyk(0%, 77.3%, 17.4%, 32.5%)
CIE-LABlab(41.50, 62.03, -26.12)
CIE-LCHlch(41.50, 67.31, 337.16°)
OKLaboklab(52.19% 0.1845 -0.0708)
OKLCHoklch(52.19% 0.198 339)
XYZxyz(22.6218, 12.1769, 26.7449)
Luminance0.1217 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC278E #27AC45
analogous
#8827AC #AC278E #AC274C
triadic
#AC278E #8EAC27 #278EAC
tetradic
#AC278E #AC8827 #27AC45 #274CAC
square
#AC278E #AC8827 #27AC45 #274CAC
split-complementary
#AC278E #4CAC27 #27AC88
monochromatic
#48103C #7A1C65 #AC278E #D33DB1 #DE6FC5

Accessibility & contrast

On white

6.11
#AC278E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#AC278E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC278E
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC278E#FFFFFF#000000##FFFFFF
##AC278E1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5591
Deuteranopia (green-blind)
#5C698B
Tritanopia (blue-blind)
#B62D58
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ac278e;
/* rgb */ color: rgb(172, 39, 142);
/* oklch */ color: oklch(52.2% 0.198 339.0);
Tailwind
colors: {
  custom: {
    50: '#c970af',
    500: '#ac278e',
    950: '#000000',
  },
}
SCSS
$custom: #ac278e;
$custom-light: #c970af;
$custom-dark: #000000;
JSON
{
  "hex": "#ac278e",
  "rgb": {
    "r": 172,
    "g": 39,
    "b": 142
  },
  "hsl": {
    "h": 313.534,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.5219,
    "c": 0.1976,
    "h": 339
  },
  "luminance": 0.12175
}

Semantic roles & 50–950 ramp

primary
#AC278E
secondary
#6AC57E
accent
#E66742
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AC278E

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

Preview Lab → · Contrast checker → · Palette generator →

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