#A12A82#A12A82

#A12A82 is a mid, vivid pink. Relative luminance 0.108; OKLCH L 50.1% C 0.180 H 340.5°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#A12A82
RGBrgb(161, 42, 130)
HSLhsl(316, 59%, 40%)
HSVhsv(316, 74%, 63%)
CMYKcmyk(0%, 73.9%, 19.3%, 36.9%)
CIE-LABlab(39.32, 56.72, -22.30)
CIE-LCHlch(39.32, 60.95, 338.54°)
OKLaboklab(50.07% 0.1694 -0.0601)
OKLCHoklch(50.07% 0.18 340.5)
XYZxyz(19.5557, 10.8466, 22.1785)
Luminance0.1085 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12A82 #2AA149
analogous
#842AA1 #A12A82 #A12A47
triadic
#A12A82 #82A12A #2A82A1
tetradic
#A12A82 #A1842A #2AA149 #2A47A1
square
#A12A82 #A1842A #2AA149 #2A47A1
split-complementary
#A12A82 #47A12A #2AA184
monochromatic
#401134 #701D5B #A12A82 #CC3CA7 #D96DBD

Accessibility & contrast

On white

6.63
#A12A82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#A12A82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12A82
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12A82#FFFFFF#000000##FFFFFF
##A12A821.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335084
Deuteranopia (green-blind)
#59637F
Tritanopia (blue-blind)
#AB2D53
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a12a82;
/* rgb */ color: rgb(161, 42, 130);
/* oklch */ color: oklch(50.1% 0.180 340.5);
Tailwind
colors: {
  custom: {
    50: '#c16fa6',
    500: '#a12a82',
    950: '#000000',
  },
}
SCSS
$custom: #a12a82;
$custom-light: #c16fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#a12a82",
  "rgb": {
    "r": 161,
    "g": 42,
    "b": 130
  },
  "hsl": {
    "h": 315.63,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.5007,
    "c": 0.17972,
    "h": 340.5
  },
  "luminance": 0.10845
}

Semantic roles & 50–950 ramp

primary
#A12A82
secondary
#67C07E
accent
#E26F46
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A12A82

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

Preview Lab → · Contrast checker → · Palette generator →

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