#A12884#A12884

#A12884 is a mid, vivid pink. Relative luminance 0.108; OKLCH L 50.0% C 0.183 H 339.5°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#A12884
RGBrgb(161, 40, 132)
HSLhsl(314, 60%, 39%)
HSVhsv(314, 75%, 63%)
CMYKcmyk(0%, 75.2%, 18%, 36.9%)
CIE-LABlab(39.18, 57.68, -23.75)
CIE-LCHlch(39.18, 62.38, 337.62°)
OKLaboklab(50% 0.1717 -0.0642)
OKLCHoklch(50% 0.183 339.5)
XYZxyz(19.6221, 10.7625, 22.8693)
Luminance0.1076 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12884 #28A145
analogous
#8228A1 #A12884 #A12848
triadic
#A12884 #84A128 #2884A1
tetradic
#A12884 #A18228 #28A145 #2848A1
square
#A12884 #A18228 #28A145 #2848A1
split-complementary
#A12884 #48A128 #28A182
monochromatic
#3F1034 #701C5C #A12884 #CE39AA #DA6ABF

Accessibility & contrast

On white

6.66
#A12884 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A12884
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12884#FFFFFF#000000##FFFFFF
##A128841.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305086
Deuteranopia (green-blind)
#586381
Tritanopia (blue-blind)
#AA2D53
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a12884;
/* rgb */ color: rgb(161, 40, 132);
/* oklch */ color: oklch(50.0% 0.183 339.5);
Tailwind
colors: {
  custom: {
    50: '#c16ea8',
    500: '#a12884',
    950: '#000000',
  },
}
SCSS
$custom: #a12884;
$custom-light: #c16ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#a12884",
  "rgb": {
    "r": 161,
    "g": 40,
    "b": 132
  },
  "hsl": {
    "h": 314.38,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.49996,
    "c": 0.18331,
    "h": 339.5
  },
  "luminance": 0.10761
}

Semantic roles & 50–950 ramp

primary
#A12884
secondary
#65C07B
accent
#E36B44
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A12884

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

Preview Lab → · Contrast checker → · Palette generator →

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