#A12E89#A12E89

#A12E89 is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.8% C 0.180 H 337.5°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#A12E89
RGBrgb(161, 46, 137)
HSLhsl(313, 56%, 41%)
HSVhsv(313, 71%, 63%)
CMYKcmyk(0%, 71.4%, 14.9%, 36.9%)
CIE-LABlab(40.15, 56.33, -25.32)
CIE-LCHlch(40.15, 61.76, 335.80°)
OKLaboklab(50.77% 0.1661 -0.0687)
OKLCHoklch(50.77% 0.18 337.5)
XYZxyz(20.1907, 11.3390, 24.7873)
Luminance0.1134 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12E89 #2EA146
analogous
#7F2EA1 #A12E89 #A12E4F
triadic
#A12E89 #89A12E #2E89A1
tetradic
#A12E89 #A17F2E #2EA146 #2E4FA1
square
#A12E89 #A17F2E #2EA146 #2E4FA1
split-complementary
#A12E89 #4FA12E #2EA17F
monochromatic
#421338 #712060 #A12E89 #C943AD #D773C2

Accessibility & contrast

On white

6.43
#A12E89 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#A12E89 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12E89
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12E89#FFFFFF#000000##FFFFFF
##A12E891.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#32538C
Deuteranopia (green-blind)
#586586
Tritanopia (blue-blind)
#AA3458
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a12e89;
/* rgb */ color: rgb(161, 46, 137);
/* oklch */ color: oklch(50.8% 0.180 337.5);
Tailwind
colors: {
  custom: {
    50: '#c071ab',
    500: '#a12e89',
    950: '#000000',
  },
}
SCSS
$custom: #a12e89;
$custom-light: #c071ab;
$custom-dark: #000000;
JSON
{
  "hex": "#a12e89",
  "rgb": {
    "r": 161,
    "g": 46,
    "b": 137
  },
  "hsl": {
    "h": 312.522,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50774,
    "c": 0.17978,
    "h": 337.5
  },
  "luminance": 0.11337
}

Semantic roles & 50–950 ramp

primary
#A12E89
secondary
#6CBE7D
accent
#DF6849
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A12E89

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

Preview Lab → · Contrast checker → · Palette generator →

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