#A12E83#A12E83

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

Color values

HEX#A12E83
RGBrgb(161, 46, 131)
HSLhsl(316, 56%, 41%)
HSVhsv(316, 71%, 63%)
CMYKcmyk(0%, 71.4%, 18.6%, 36.9%)
CIE-LABlab(39.87, 55.45, -22.06)
CIE-LCHlch(39.87, 59.68, 338.30°)
OKLaboklab(50.48% 0.1652 -0.0595)
OKLCHoklch(50.48% 0.176 340.2)
XYZxyz(19.7722, 11.1717, 22.5834)
Luminance0.1117 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12E83 #2EA14C
analogous
#852EA1 #A12E83 #A12E49
triadic
#A12E83 #83A12E #2E83A1
tetradic
#A12E83 #A1852E #2EA14C #2E49A1
square
#A12E83 #A1852E #2EA14C #2E49A1
split-complementary
#A12E83 #49A12E #2EA185
monochromatic
#421336 #71205C #A12E83 #C943A6 #D773BD

Accessibility & contrast

On white

6.49
#A12E83 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A12E83
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12E83#FFFFFF#000000##FFFFFF
##A12E831.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a12e83;
/* rgb */ color: rgb(161, 46, 131);
/* oklch */ color: oklch(50.5% 0.176 340.2);
Tailwind
colors: {
  custom: {
    50: '#c071a7',
    500: '#a12e83',
    950: '#000000',
  },
}
SCSS
$custom: #a12e83;
$custom-light: #c071a7;
$custom-dark: #000000;
JSON
{
  "hex": "#a12e83",
  "rgb": {
    "r": 161,
    "g": 46,
    "b": 131
  },
  "hsl": {
    "h": 315.652,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50482,
    "c": 0.17562,
    "h": 340.2
  },
  "luminance": 0.1117
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A12E83

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

Preview Lab → · Contrast checker → · Palette generator →

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