#A12D82#A12D82

#A12D82 is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.3% C 0.176 H 340.6°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#A12D82
RGBrgb(161, 45, 130)
HSLhsl(316, 56%, 40%)
HSVhsv(316, 72%, 63%)
CMYKcmyk(0%, 72%, 19.3%, 36.9%)
CIE-LABlab(39.69, 55.67, -21.72)
CIE-LCHlch(39.69, 59.76, 338.69°)
OKLaboklab(50.34% 0.1662 -0.0585)
OKLCHoklch(50.34% 0.176 340.6)
XYZxyz(19.6661, 11.0675, 22.2153)
Luminance0.1107 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12D82 #2DA14C
analogous
#862DA1 #A12D82 #A12D48
triadic
#A12D82 #82A12D #2D82A1
tetradic
#A12D82 #A1862D #2DA14C #2D48A1
square
#A12D82 #A1862D #2DA14C #2D48A1
split-complementary
#A12D82 #48A12D #2DA186
monochromatic
#411235 #71205B #A12D82 #CA41A5 #D771BC

Accessibility & contrast

On white

6.54
#A12D82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#A12D82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12D82
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12D82#FFFFFF#000000##FFFFFF
##A12D821.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355284
Deuteranopia (green-blind)
#5A647F
Tritanopia (blue-blind)
#AB3054
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a12d82;
/* rgb */ color: rgb(161, 45, 130);
/* oklch */ color: oklch(50.3% 0.176 340.6);
Tailwind
colors: {
  custom: {
    50: '#c071a6',
    500: '#a12d82',
    950: '#000000',
  },
}
SCSS
$custom: #a12d82;
$custom-light: #c071a6;
$custom-dark: #000000;
JSON
{
  "hex": "#a12d82",
  "rgb": {
    "r": 161,
    "g": 45,
    "b": 130
  },
  "hsl": {
    "h": 316.034,
    "s": 56.311,
    "l": 40.392
  },
  "oklch": {
    "l": 0.5034,
    "c": 0.17618,
    "h": 340.6
  },
  "luminance": 0.11066
}

Semantic roles & 50–950 ramp

primary
#A12D82
secondary
#6BBF81
accent
#E07148
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A12D82

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

Preview Lab → · Contrast checker → · Palette generator →

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