#A12E82#A12E82

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

Color values

HEX#A12E82
RGBrgb(161, 46, 130)
HSLhsl(316, 56%, 41%)
HSVhsv(316, 71%, 63%)
CMYKcmyk(0%, 71.4%, 19.3%, 36.9%)
CIE-LABlab(39.82, 55.31, -21.52)
CIE-LCHlch(39.82, 59.35, 338.74°)
OKLaboklab(50.43% 0.1651 -0.0579)
OKLCHoklch(50.43% 0.175 340.7)
XYZxyz(19.7048, 11.1447, 22.2281)
Luminance0.1114 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12E82 #2EA14D
analogous
#862EA1 #A12E82 #A12E48
triadic
#A12E82 #82A12E #2E82A1
tetradic
#A12E82 #A1862E #2EA14D #2E48A1
square
#A12E82 #A1862E #2EA14D #2E48A1
split-complementary
#A12E82 #48A12E #2EA186
monochromatic
#421335 #71205C #A12E82 #C943A5 #D773BC

Accessibility & contrast

On white

6.50
#A12E82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#A12E82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12E82
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12E82#FFFFFF#000000##FFFFFF
##A12E821.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365284
Deuteranopia (green-blind)
#5B647F
Tritanopia (blue-blind)
#AB3154
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a12e82;
/* rgb */ color: rgb(161, 46, 130);
/* oklch */ color: oklch(50.4% 0.175 340.7);
Tailwind
colors: {
  custom: {
    50: '#c071a6',
    500: '#a12e82',
    950: '#000000',
  },
}
SCSS
$custom: #a12e82;
$custom-light: #c071a6;
$custom-dark: #000000;
JSON
{
  "hex": "#a12e82",
  "rgb": {
    "r": 161,
    "g": 46,
    "b": 130
  },
  "hsl": {
    "h": 316.174,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50434,
    "c": 0.17496,
    "h": 340.7
  },
  "luminance": 0.11143
}

Semantic roles & 50–950 ramp

primary
#A12E82
secondary
#6CBE82
accent
#DF7149
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A12E82

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

Preview Lab → · Contrast checker → · Palette generator →

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