#A12781#A12781

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

Color values

HEX#A12781
RGBrgb(161, 39, 129)
HSLhsl(316, 61%, 39%)
HSVhsv(316, 76%, 63%)
CMYKcmyk(0%, 75.8%, 19.9%, 36.9%)
CIE-LABlab(38.92, 57.58, -22.29)
CIE-LCHlch(38.92, 61.74, 338.84°)
OKLaboklab(49.77% 0.1722 -0.0601)
OKLCHoklch(49.77% 0.182 340.8)
XYZxyz(19.3865, 10.6150, 21.7925)
Luminance0.1061 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12781 #27A147
analogous
#8427A1 #A12781 #A12744
triadic
#A12781 #81A127 #2781A1
tetradic
#A12781 #A18427 #27A147 #2744A1
square
#A12781 #A18427 #27A147 #2744A1
split-complementary
#A12781 #44A127 #27A184
monochromatic
#3E0F32 #701B5A #A12781 #CE37A7 #DA68BC

Accessibility & contrast

On white

6.73
#A12781 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A12781
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12781#FFFFFF#000000##FFFFFF
##A127811.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314F83
Deuteranopia (green-blind)
#58637E
Tritanopia (blue-blind)
#AB2A51
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a12781;
/* rgb */ color: rgb(161, 39, 129);
/* oklch */ color: oklch(49.8% 0.182 340.8);
Tailwind
colors: {
  custom: {
    50: '#c16ea6',
    500: '#a12781',
    950: '#000000',
  },
}
SCSS
$custom: #a12781;
$custom-light: #c16ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#a12781",
  "rgb": {
    "r": 161,
    "g": 39,
    "b": 129
  },
  "hsl": {
    "h": 315.738,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49768,
    "c": 0.18243,
    "h": 340.8
  },
  "luminance": 0.10613
}

Semantic roles & 50–950 ramp

primary
#A12781
secondary
#63C07C
accent
#E46E44
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A12781

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

Preview Lab → · Contrast checker → · Palette generator →

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