#A12E86#A12E86

#A12E86 is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.6% C 0.178 H 338.8°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#A12E86
RGBrgb(161, 46, 134)
HSLhsl(314, 56%, 41%)
HSVhsv(314, 71%, 63%)
CMYKcmyk(0%, 71.4%, 16.8%, 36.9%)
CIE-LABlab(40.01, 55.89, -23.70)
CIE-LCHlch(40.01, 60.70, 337.02°)
OKLaboklab(50.63% 0.1657 -0.0641)
OKLCHoklch(50.63% 0.178 338.8)
XYZxyz(19.9785, 11.2542, 23.6697)
Luminance0.1125 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12E86 #2EA149
analogous
#822EA1 #A12E86 #A12E4C
triadic
#A12E86 #86A12E #2E86A1
tetradic
#A12E86 #A1822E #2EA149 #2E4CA1
square
#A12E86 #A1822E #2EA149 #2E4CA1
split-complementary
#A12E86 #4CA12E #2EA182
monochromatic
#421337 #71205E #A12E86 #C943AA #D773BF

Accessibility & contrast

On white

6.46
#A12E86 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#A12E86 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12E86
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12E86#FFFFFF#000000##FFFFFF
##A12E861.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345388
Deuteranopia (green-blind)
#596583
Tritanopia (blue-blind)
#AA3356
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a12e86;
/* rgb */ color: rgb(161, 46, 134);
/* oklch */ color: oklch(50.6% 0.178 338.8);
Tailwind
colors: {
  custom: {
    50: '#c071a9',
    500: '#a12e86',
    950: '#000000',
  },
}
SCSS
$custom: #a12e86;
$custom-light: #c071a9;
$custom-dark: #000000;
JSON
{
  "hex": "#a12e86",
  "rgb": {
    "r": 161,
    "g": 46,
    "b": 134
  },
  "hsl": {
    "h": 314.087,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.50626,
    "c": 0.17767,
    "h": 338.8
  },
  "luminance": 0.11252
}

Semantic roles & 50–950 ramp

primary
#A12E86
secondary
#6CBE80
accent
#DF6C49
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A12E86

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

Preview Lab → · Contrast checker → · Palette generator →

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