#A12784#A12784

#A12784 is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.9% C 0.184 H 339.5°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#A12784
RGBrgb(161, 39, 132)
HSLhsl(314, 61%, 39%)
HSVhsv(314, 76%, 63%)
CMYKcmyk(0%, 75.8%, 18%, 36.9%)
CIE-LABlab(39.06, 58.00, -23.93)
CIE-LCHlch(39.06, 62.74, 337.58°)
OKLaboklab(49.91% 0.1727 -0.0647)
OKLCHoklch(49.91% 0.184 339.5)
XYZxyz(19.5888, 10.6960, 22.8582)
Luminance0.1069 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12784 #27A144
analogous
#8127A1 #A12784 #A12747
triadic
#A12784 #84A127 #2784A1
tetradic
#A12784 #A18127 #27A144 #2747A1
square
#A12784 #A18127 #27A144 #2747A1
split-complementary
#A12784 #47A127 #27A181
monochromatic
#3E0F33 #701B5C #A12784 #CE37AA #DA68BF

Accessibility & contrast

On white

6.69
#A12784 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#A12784 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12784
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12784#FFFFFF#000000##FFFFFF
##A127841.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5087
Deuteranopia (green-blind)
#576381
Tritanopia (blue-blind)
#AB2C53
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a12784;
/* rgb */ color: rgb(161, 39, 132);
/* oklch */ color: oklch(49.9% 0.184 339.5);
Tailwind
colors: {
  custom: {
    50: '#c16ea8',
    500: '#a12784',
    950: '#000000',
  },
}
SCSS
$custom: #a12784;
$custom-light: #c16ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#a12784",
  "rgb": {
    "r": 161,
    "g": 39,
    "b": 132
  },
  "hsl": {
    "h": 314.262,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.49914,
    "c": 0.1844,
    "h": 339.5
  },
  "luminance": 0.10694
}

Semantic roles & 50–950 ramp

primary
#A12784
secondary
#63C079
accent
#E46A44
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A12784

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

Preview Lab → · Contrast checker → · Palette generator →

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