#A12E81#A12E81

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

Color values

HEX#A12E81
RGBrgb(161, 46, 129)
HSLhsl(317, 56%, 41%)
HSVhsv(317, 71%, 63%)
CMYKcmyk(0%, 71.4%, 19.9%, 36.9%)
CIE-LABlab(39.78, 55.17, -20.97)
CIE-LCHlch(39.78, 59.02, 339.19°)
OKLaboklab(50.39% 0.1649 -0.0564)
OKLCHoklch(50.39% 0.174 341.1)
XYZxyz(19.6380, 11.1180, 21.8764)
Luminance0.1112 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12E81 #2EA14E
analogous
#882EA1 #A12E81 #A12E47
triadic
#A12E81 #81A12E #2E81A1
tetradic
#A12E81 #A1882E #2EA14E #2E47A1
square
#A12E81 #A1882E #2EA14E #2E47A1
split-complementary
#A12E81 #47A12E #2EA188
monochromatic
#421335 #71205B #A12E81 #C943A4 #D773BB

Accessibility & contrast

On white

6.52
#A12E81 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A12E81
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12E81#FFFFFF#000000##FFFFFF
##A12E811.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375283
Deuteranopia (green-blind)
#5B647E
Tritanopia (blue-blind)
#AB3053
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a12e81;
/* rgb */ color: rgb(161, 46, 129);
/* oklch */ color: oklch(50.4% 0.174 341.1);
Tailwind
colors: {
  custom: {
    50: '#c071a5',
    500: '#a12e81',
    950: '#000000',
  },
}
SCSS
$custom: #a12e81;
$custom-light: #c071a5;
$custom-dark: #000000;
JSON
{
  "hex": "#a12e81",
  "rgb": {
    "r": 161,
    "g": 46,
    "b": 129
  },
  "hsl": {
    "h": 316.696,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50387,
    "c": 0.17429,
    "h": 341.1
  },
  "luminance": 0.11116
}

Semantic roles & 50–950 ramp

primary
#A12E81
secondary
#6CBE83
accent
#DF7349
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A12E81

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

Preview Lab → · Contrast checker → · Palette generator →

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