#A12772#A12772

#A12772 is a mid, vivid pink. Relative luminance 0.102; OKLCH L 49.1% C 0.173 H 347.8°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#A12772
RGBrgb(161, 39, 114)
HSLhsl(323, 61%, 39%)
HSVhsv(323, 76%, 63%)
CMYKcmyk(0%, 75.8%, 29.2%, 36.9%)
CIE-LABlab(38.28, 55.61, -13.94)
CIE-LCHlch(38.28, 57.33, 345.92°)
OKLaboklab(49.09% 0.1694 -0.0367)
OKLCHoklch(49.09% 0.173 347.8)
XYZxyz(18.4616, 10.2451, 16.9216)
Luminance0.1024 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12772 #27A156
analogous
#9327A1 #A12772 #A12735
triadic
#A12772 #72A127 #2772A1
tetradic
#A12772 #A19327 #27A156 #2735A1
square
#A12772 #A19327 #27A156 #2735A1
split-complementary
#A12772 #35A127 #27A193
monochromatic
#3E0F2C #701B4F #A12772 #CE3794 #DA68AE

Accessibility & contrast

On white

6.89
#A12772 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#A12772 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12772
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12772#FFFFFF#000000##FFFFFF
##A127721.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394D74
Deuteranopia (green-blind)
#5D626F
Tritanopia (blue-blind)
#AD2249
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a12772;
/* rgb */ color: rgb(161, 39, 114);
/* oklch */ color: oklch(49.1% 0.173 347.8);
Tailwind
colors: {
  custom: {
    50: '#c16d9a',
    500: '#a12772',
    950: '#000000',
  },
}
SCSS
$custom: #a12772;
$custom-light: #c16d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#a12772",
  "rgb": {
    "r": 161,
    "g": 39,
    "b": 114
  },
  "hsl": {
    "h": 323.115,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49088,
    "c": 0.17333,
    "h": 347.8
  },
  "luminance": 0.10243
}

Semantic roles & 50–950 ramp

primary
#A12772
secondary
#63C087
accent
#E48144
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A12772

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

Preview Lab → · Contrast checker → · Palette generator →

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