#AC278D#AC278D

#AC278D is a mid, vivid pink. Relative luminance 0.121; OKLCH L 52.1% C 0.197 H 339.4°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#AC278D
RGBrgb(172, 39, 141)
HSLhsl(314, 63%, 41%)
HSVhsv(314, 77%, 67%)
CMYKcmyk(0%, 77.3%, 18%, 32.5%)
CIE-LABlab(41.45, 61.89, -25.59)
CIE-LCHlch(41.45, 66.97, 337.54°)
OKLaboklab(52.14% 0.1844 -0.0693)
OKLCHoklch(52.14% 0.197 339.4)
XYZxyz(22.5471, 12.1470, 26.3513)
Luminance0.1215 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AC278D #27AC46
analogous
#8927AC #AC278D #AC274B
triadic
#AC278D #8DAC27 #278DAC
tetradic
#AC278D #AC8927 #27AC46 #274BAC
square
#AC278D #AC8927 #27AC46 #274BAC
split-complementary
#AC278D #4BAC27 #27AC89
monochromatic
#48103B #7A1C64 #AC278D #D33DB0 #DE6FC4

Accessibility & contrast

On white

6.12
#AC278D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#AC278D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AC278D
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AC278D#FFFFFF#000000##FFFFFF
##AC278D1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305490
Deuteranopia (green-blind)
#5D698A
Tritanopia (blue-blind)
#B62D58
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ac278d;
/* rgb */ color: rgb(172, 39, 141);
/* oklch */ color: oklch(52.1% 0.197 339.4);
Tailwind
colors: {
  custom: {
    50: '#c970ae',
    500: '#ac278d',
    950: '#000000',
  },
}
SCSS
$custom: #ac278d;
$custom-light: #c970ae;
$custom-dark: #000000;
JSON
{
  "hex": "#ac278d",
  "rgb": {
    "r": 172,
    "g": 39,
    "b": 141
  },
  "hsl": {
    "h": 313.985,
    "s": 63.033,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52141,
    "c": 0.19695,
    "h": 339.4
  },
  "luminance": 0.12145
}

Semantic roles & 50–950 ramp

primary
#AC278D
secondary
#6AC57F
accent
#E66842
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AC278D

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

Preview Lab → · Contrast checker → · Palette generator →

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