#A12E84#A12E84

#A12E84 is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.5% C 0.176 H 339.7°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#A12E84
RGBrgb(161, 46, 132)
HSLhsl(315, 56%, 41%)
HSVhsv(315, 71%, 63%)
CMYKcmyk(0%, 71.4%, 18%, 36.9%)
CIE-LABlab(39.91, 55.60, -22.61)
CIE-LCHlch(39.91, 60.02, 337.87°)
OKLaboklab(50.53% 0.1654 -0.061)
OKLCHoklch(50.53% 0.176 339.7)
XYZxyz(19.8403, 11.1989, 22.9420)
Luminance0.1120 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12E84 #2EA14B
analogous
#842EA1 #A12E84 #A12E4B
triadic
#A12E84 #84A12E #2E84A1
tetradic
#A12E84 #A1842E #2EA14B #2E4BA1
square
#A12E84 #A1842E #2EA14B #2E4BA1
split-complementary
#A12E84 #4BA12E #2EA184
monochromatic
#421336 #71205D #A12E84 #C943A7 #D773BE

Accessibility & contrast

On white

6.48
#A12E84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#A12E84 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12E84
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12E84#FFFFFF#000000##FFFFFF
##A12E841.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355286
Deuteranopia (green-blind)
#5A6581
Tritanopia (blue-blind)
#AA3255
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a12e84;
/* rgb */ color: rgb(161, 46, 132);
/* oklch */ color: oklch(50.5% 0.176 339.7);
Tailwind
colors: {
  custom: {
    50: '#c071a8',
    500: '#a12e84',
    950: '#000000',
  },
}
SCSS
$custom: #a12e84;
$custom-light: #c071a8;
$custom-dark: #000000;
JSON
{
  "hex": "#a12e84",
  "rgb": {
    "r": 161,
    "g": 46,
    "b": 132
  },
  "hsl": {
    "h": 315.13,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50529,
    "c": 0.1763,
    "h": 339.7
  },
  "luminance": 0.11197
}

Semantic roles & 50–950 ramp

primary
#A12E84
secondary
#6CBE81
accent
#DF6F49
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A12E84

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

Preview Lab → · Contrast checker → · Palette generator →

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