#A12780#A12780

#A12780 is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.7% C 0.182 H 341.2°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#A12780
RGBrgb(161, 39, 128)
HSLhsl(316, 61%, 39%)
HSVhsv(316, 76%, 63%)
CMYKcmyk(0%, 75.8%, 20.5%, 36.9%)
CIE-LABlab(38.88, 57.44, -21.74)
CIE-LCHlch(38.88, 61.42, 339.27°)
OKLaboklab(49.72% 0.1721 -0.0585)
OKLCHoklch(49.72% 0.182 341.2)
XYZxyz(19.3204, 10.5886, 21.4442)
Luminance0.1059 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12780 #27A148
analogous
#8527A1 #A12780 #A12743
triadic
#A12780 #80A127 #2780A1
tetradic
#A12780 #A18527 #27A148 #2743A1
square
#A12780 #A18527 #27A148 #2743A1
split-complementary
#A12780 #43A127 #27A185
monochromatic
#3E0F32 #701B59 #A12780 #CE37A5 #DA68BB

Accessibility & contrast

On white

6.74
#A12780 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#A12780 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12780
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12780#FFFFFF#000000##FFFFFF
##A127801.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324F82
Deuteranopia (green-blind)
#59637D
Tritanopia (blue-blind)
#AB2A51
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a12780;
/* rgb */ color: rgb(161, 39, 128);
/* oklch */ color: oklch(49.7% 0.182 341.2);
Tailwind
colors: {
  custom: {
    50: '#c16ea5',
    500: '#a12780',
    950: '#000000',
  },
}
SCSS
$custom: #a12780;
$custom-light: #c16ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#a12780",
  "rgb": {
    "r": 161,
    "g": 39,
    "b": 128
  },
  "hsl": {
    "h": 316.23,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.4972,
    "c": 0.18177,
    "h": 341.2
  },
  "luminance": 0.10587
}

Semantic roles & 50–950 ramp

primary
#A12780
secondary
#63C07D
accent
#E46F44
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A12780

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

Preview Lab → · Contrast checker → · Palette generator →

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