#A12786#A12786

#A12786 is a mid, vivid pink. Relative luminance 0.107; OKLCH L 50.0% C 0.186 H 338.6°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#A12786
RGBrgb(161, 39, 134)
HSLhsl(313, 61%, 39%)
HSVhsv(313, 76%, 63%)
CMYKcmyk(0%, 75.8%, 16.8%, 36.9%)
CIE-LABlab(39.16, 58.28, -25.01)
CIE-LCHlch(39.16, 63.43, 336.77°)
OKLaboklab(50.01% 0.1729 -0.0678)
OKLCHoklch(50.01% 0.186 338.6)
XYZxyz(19.7270, 10.7512, 23.5859)
Luminance0.1075 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12786 #27A142
analogous
#7F27A1 #A12786 #A12749
triadic
#A12786 #86A127 #2786A1
tetradic
#A12786 #A17F27 #27A142 #2749A1
square
#A12786 #A17F27 #27A142 #2749A1
split-complementary
#A12786 #49A127 #27A17F
monochromatic
#3E0F34 #701B5D #A12786 #CE37AD #DA68C1

Accessibility & contrast

On white

6.67
#A12786 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#A12786 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12786
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12786#FFFFFF#000000##FFFFFF
##A127861.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5089
Deuteranopia (green-blind)
#566383
Tritanopia (blue-blind)
#AA2D54
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a12786;
/* rgb */ color: rgb(161, 39, 134);
/* oklch */ color: oklch(50.0% 0.186 338.6);
Tailwind
colors: {
  custom: {
    50: '#c16ea9',
    500: '#a12786',
    950: '#000000',
  },
}
SCSS
$custom: #a12786;
$custom-light: #c16ea9;
$custom-dark: #000000;
JSON
{
  "hex": "#a12786",
  "rgb": {
    "r": 161,
    "g": 39,
    "b": 134
  },
  "hsl": {
    "h": 313.279,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.50013,
    "c": 0.18575,
    "h": 338.6
  },
  "luminance": 0.10749
}

Semantic roles & 50–950 ramp

primary
#A12786
secondary
#63C078
accent
#E46744
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A12786

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

Preview Lab → · Contrast checker → · Palette generator →

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