#A12D83#A12D83

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

Color values

HEX#A12D83
RGBrgb(161, 45, 131)
HSLhsl(316, 56%, 40%)
HSVhsv(316, 72%, 63%)
CMYKcmyk(0%, 72%, 18.6%, 36.9%)
CIE-LABlab(39.74, 55.81, -22.26)
CIE-LCHlch(39.74, 60.09, 338.25°)
OKLaboklab(50.39% 0.1663 -0.06)
OKLCHoklch(50.39% 0.177 340.2)
XYZxyz(19.7336, 11.0944, 22.5705)
Luminance0.1109 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12D83 #2DA14B
analogous
#852DA1 #A12D83 #A12D49
triadic
#A12D83 #83A12D #2D83A1
tetradic
#A12D83 #A1852D #2DA14B #2D49A1
square
#A12D83 #A1852D #2DA14B #2D49A1
split-complementary
#A12D83 #49A12D #2DA185
monochromatic
#411235 #71205C #A12D83 #CA41A7 #D771BD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A12D83#FFFFFF#000000##FFFFFF
##A12D831.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)
#355285
Deuteranopia (green-blind)
#5A6480
Tritanopia (blue-blind)
#AB3054
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a12d83;
/* rgb */ color: rgb(161, 45, 131);
/* oklch */ color: oklch(50.4% 0.177 340.2);
Tailwind
colors: {
  custom: {
    50: '#c071a7',
    500: '#a12d83',
    950: '#000000',
  },
}
SCSS
$custom: #a12d83;
$custom-light: #c071a7;
$custom-dark: #000000;
JSON
{
  "hex": "#a12d83",
  "rgb": {
    "r": 161,
    "g": 45,
    "b": 131
  },
  "hsl": {
    "h": 315.517,
    "s": 56.311,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50388,
    "c": 0.17685,
    "h": 340.2
  },
  "luminance": 0.11093
}

Semantic roles & 50–950 ramp

primary
#A12D83
secondary
#6BBF81
accent
#E06F48
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A12D83

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

Preview Lab → · Contrast checker → · Palette generator →

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