#A12C81#A12C81

#A12C81 is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.2% C 0.177 H 341.0°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#A12C81
RGBrgb(161, 44, 129)
HSLhsl(316, 57%, 40%)
HSVhsv(316, 73%, 63%)
CMYKcmyk(0%, 72.7%, 19.9%, 36.9%)
CIE-LABlab(39.52, 55.89, -21.37)
CIE-LCHlch(39.52, 59.83, 339.08°)
OKLaboklab(50.2% 0.1671 -0.0575)
OKLCHoklch(50.2% 0.177 341)
XYZxyz(19.5616, 10.9653, 21.8509)
Luminance0.1096 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12C81 #2CA14C
analogous
#862CA1 #A12C81 #A12C47
triadic
#A12C81 #81A12C #2C81A1
tetradic
#A12C81 #A1862C #2CA14C #2C47A1
square
#A12C81 #A1862C #2CA14C #2C47A1
split-complementary
#A12C81 #47A12C #2CA186
monochromatic
#411234 #711F5A #A12C81 #CB40A5 #D870BB

Accessibility & contrast

On white

6.58
#A12C81 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#A12C81 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12C81
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12C81#FFFFFF#000000##FFFFFF
##A12C811.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355183
Deuteranopia (green-blind)
#5A647E
Tritanopia (blue-blind)
#AB2F53
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a12c81;
/* rgb */ color: rgb(161, 44, 129);
/* oklch */ color: oklch(50.2% 0.177 341.0);
Tailwind
colors: {
  custom: {
    50: '#c070a5',
    500: '#a12c81',
    950: '#000000',
  },
}
SCSS
$custom: #a12c81;
$custom-light: #c070a5;
$custom-dark: #000000;
JSON
{
  "hex": "#a12c81",
  "rgb": {
    "r": 161,
    "g": 44,
    "b": 129
  },
  "hsl": {
    "h": 316.41,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50201,
    "c": 0.17672,
    "h": 341
  },
  "luminance": 0.10963
}

Semantic roles & 50–950 ramp

primary
#A12C81
secondary
#6ABF81
accent
#E07147
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A12C81

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

Preview Lab → · Contrast checker → · Palette generator →

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