#A12D84#A12D84

#A12D84 is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.4% C 0.178 H 339.7°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#A12D84
RGBrgb(161, 45, 132)
HSLhsl(315, 56%, 40%)
HSVhsv(315, 72%, 63%)
CMYKcmyk(0%, 72%, 18%, 36.9%)
CIE-LABlab(39.78, 55.96, -22.81)
CIE-LCHlch(39.78, 60.43, 337.82°)
OKLaboklab(50.44% 0.1665 -0.0616)
OKLCHoklch(50.44% 0.178 339.7)
XYZxyz(19.8017, 11.1217, 22.9292)
Luminance0.1112 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12D84 #2DA14A
analogous
#842DA1 #A12D84 #A12D4A
triadic
#A12D84 #84A12D #2D84A1
tetradic
#A12D84 #A1842D #2DA14A #2D4AA1
square
#A12D84 #A1842D #2DA14A #2D4AA1
split-complementary
#A12D84 #4AA12D #2DA184
monochromatic
#411236 #71205D #A12D84 #CA41A8 #D771BE

Accessibility & contrast

On white

6.51
#A12D84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#A12D84 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12D84
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12D84#FFFFFF#000000##FFFFFF
##A12D841.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345286
Deuteranopia (green-blind)
#596481
Tritanopia (blue-blind)
#AA3155
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a12d84;
/* rgb */ color: rgb(161, 45, 132);
/* oklch */ color: oklch(50.4% 0.178 339.7);
Tailwind
colors: {
  custom: {
    50: '#c071a8',
    500: '#a12d84',
    950: '#000000',
  },
}
SCSS
$custom: #a12d84;
$custom-light: #c071a8;
$custom-dark: #000000;
JSON
{
  "hex": "#a12d84",
  "rgb": {
    "r": 161,
    "g": 45,
    "b": 132
  },
  "hsl": {
    "h": 315,
    "s": 56.311,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50436,
    "c": 0.17753,
    "h": 339.7
  },
  "luminance": 0.1112
}

Semantic roles & 50–950 ramp

primary
#A12D84
secondary
#6BBF80
accent
#E06E48
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A12D84

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

Preview Lab → · Contrast checker → · Palette generator →

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