#A12971#A12971

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

Color values

HEX#A12971
RGBrgb(161, 41, 113)
HSLhsl(324, 59%, 40%)
HSVhsv(324, 75%, 63%)
CMYKcmyk(0%, 74.5%, 29.8%, 36.9%)
CIE-LABlab(38.48, 54.81, -13.02)
CIE-LCHlch(38.48, 56.34, 346.64°)
OKLaboklab(49.22% 0.1671 -0.0342)
OKLCHoklch(49.22% 0.171 348.4)
XYZxyz(18.4724, 10.3573, 16.6459)
Luminance0.1036 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12971 #29A159
analogous
#9529A1 #A12971 #A12935
triadic
#A12971 #71A129 #2971A1
tetradic
#A12971 #A19529 #29A159 #2935A1
square
#A12971 #A19529 #29A159 #2935A1
split-complementary
#A12971 #35A129 #29A195
monochromatic
#3F102D #701D4F #A12971 #CD3A92 #D96BAD

Accessibility & contrast

On white

6.84
#A12971 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#A12971 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12971
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12971#FFFFFF#000000##FFFFFF
##A129711.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B4D73
Deuteranopia (green-blind)
#5E626E
Tritanopia (blue-blind)
#AD2349
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a12971;
/* rgb */ color: rgb(161, 41, 113);
/* oklch */ color: oklch(49.2% 0.171 348.4);
Tailwind
colors: {
  custom: {
    50: '#c16e99',
    500: '#a12971',
    950: '#000000',
  },
}
SCSS
$custom: #a12971;
$custom-light: #c16e99;
$custom-dark: #000000;
JSON
{
  "hex": "#a12971",
  "rgb": {
    "r": 161,
    "g": 41,
    "b": 113
  },
  "hsl": {
    "h": 324,
    "s": 59.406,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49219,
    "c": 0.17052,
    "h": 348.4
  },
  "luminance": 0.10355
}

Semantic roles & 50–950 ramp

primary
#A12971
secondary
#66C08A
accent
#E38445
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A12971

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

Preview Lab → · Contrast checker → · Palette generator →

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