#A12A71#A12A71

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

Color values

HEX#A12A71
RGBrgb(161, 42, 113)
HSLhsl(324, 59%, 40%)
HSVhsv(324, 74%, 63%)
CMYKcmyk(0%, 73.9%, 29.8%, 36.9%)
CIE-LABlab(38.60, 54.47, -12.83)
CIE-LCHlch(38.60, 55.96, 346.74°)
OKLaboklab(49.31% 0.166 -0.0337)
OKLCHoklch(49.31% 0.169 348.5)
XYZxyz(18.5075, 10.4273, 16.6576)
Luminance0.1042 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12A71 #2AA15A
analogous
#962AA1 #A12A71 #A12A35
triadic
#A12A71 #71A12A #2A71A1
tetradic
#A12A71 #A1962A #2AA15A #2A35A1
square
#A12A71 #A1962A #2AA15A #2A35A1
split-complementary
#A12A71 #35A12A #2AA196
monochromatic
#40112D #701D4F #A12A71 #CC3C92 #D96DAD

Accessibility & contrast

On white

6.81
#A12A71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#A12A71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12A71
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12A71#FFFFFF#000000##FFFFFF
##A12A711.006.813.096.81
#FFFFFF6.811.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a12a71;
/* rgb */ color: rgb(161, 42, 113);
/* oklch */ color: oklch(49.3% 0.169 348.5);
Tailwind
colors: {
  custom: {
    50: '#c16f99',
    500: '#a12a71',
    950: '#000000',
  },
}
SCSS
$custom: #a12a71;
$custom-light: #c16f99;
$custom-dark: #000000;
JSON
{
  "hex": "#a12a71",
  "rgb": {
    "r": 161,
    "g": 42,
    "b": 113
  },
  "hsl": {
    "h": 324.202,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49308,
    "c": 0.16937,
    "h": 348.5
  },
  "luminance": 0.10425
}

Semantic roles & 50–950 ramp

primary
#A12A71
secondary
#67C08B
accent
#E28546
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A12A71

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

Preview Lab → · Contrast checker → · Palette generator →

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