#A12986#A12986

#A12986 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.2% C 0.184 H 338.7°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#A12986
RGBrgb(161, 41, 134)
HSLhsl(314, 59%, 40%)
HSVhsv(314, 75%, 63%)
CMYKcmyk(0%, 74.5%, 16.8%, 36.9%)
CIE-LABlab(39.39, 57.63, -24.66)
CIE-LCHlch(39.39, 62.68, 336.84°)
OKLaboklab(50.18% 0.171 -0.0668)
OKLCHoklch(50.18% 0.184 338.7)
XYZxyz(19.7944, 10.8861, 23.6084)
Luminance0.1088 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12986 #29A144
analogous
#8029A1 #A12986 #A1294A
triadic
#A12986 #86A129 #2986A1
tetradic
#A12986 #A18029 #29A144 #294AA1
square
#A12986 #A18029 #29A144 #294AA1
split-complementary
#A12986 #4AA129 #29A180
monochromatic
#3F1035 #701D5D #A12986 #CD3AAC #D96BC1

Accessibility & contrast

On white

6.61
#A12986 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#A12986 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12986
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12986#FFFFFF#000000##FFFFFF
##A129861.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5189
Deuteranopia (green-blind)
#576383
Tritanopia (blue-blind)
#AA2F54
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a12986;
/* rgb */ color: rgb(161, 41, 134);
/* oklch */ color: oklch(50.2% 0.184 338.7);
Tailwind
colors: {
  custom: {
    50: '#c16fa9',
    500: '#a12986',
    950: '#000000',
  },
}
SCSS
$custom: #a12986;
$custom-light: #c16fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#a12986",
  "rgb": {
    "r": 161,
    "g": 41,
    "b": 134
  },
  "hsl": {
    "h": 313.5,
    "s": 59.406,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50179,
    "c": 0.18355,
    "h": 338.7
  },
  "luminance": 0.10884
}

Semantic roles & 50–950 ramp

primary
#A12986
secondary
#66C07A
accent
#E36945
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A12986

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

Preview Lab → · Contrast checker → · Palette generator →

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