#A12972#A12972

#A12972 is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.3% C 0.171 H 347.9°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#A12972
RGBrgb(161, 41, 114)
HSLhsl(324, 59%, 40%)
HSVhsv(324, 75%, 63%)
CMYKcmyk(0%, 74.5%, 29.2%, 36.9%)
CIE-LABlab(38.52, 54.94, -13.58)
CIE-LCHlch(38.52, 56.59, 346.11°)
OKLaboklab(49.26% 0.1673 -0.0358)
OKLCHoklch(49.26% 0.171 347.9)
XYZxyz(18.5290, 10.3799, 16.9441)
Luminance0.1038 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12972 #29A158
analogous
#9429A1 #A12972 #A12936
triadic
#A12972 #72A129 #2972A1
tetradic
#A12972 #A19429 #29A158 #2936A1
square
#A12972 #A19429 #29A158 #2936A1
split-complementary
#A12972 #36A129 #29A194
monochromatic
#3F102D #701D4F #A12972 #CD3A93 #D96BAE

Accessibility & contrast

On white

6.83
#A12972 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#A12972 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12972
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12972#FFFFFF#000000##FFFFFF
##A129721.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4D74
Deuteranopia (green-blind)
#5E626F
Tritanopia (blue-blind)
#AD244A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a12972;
/* rgb */ color: rgb(161, 41, 114);
/* oklch */ color: oklch(49.3% 0.171 347.9);
Tailwind
colors: {
  custom: {
    50: '#c16e9a',
    500: '#a12972',
    950: '#000000',
  },
}
SCSS
$custom: #a12972;
$custom-light: #c16e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#a12972",
  "rgb": {
    "r": 161,
    "g": 41,
    "b": 114
  },
  "hsl": {
    "h": 323.5,
    "s": 59.406,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49261,
    "c": 0.17108,
    "h": 347.9
  },
  "luminance": 0.10378
}

Semantic roles & 50–950 ramp

primary
#A12972
secondary
#66C089
accent
#E38345
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A12972

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

Preview Lab → · Contrast checker → · Palette generator →

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