#A12186#A12186

#A12186 is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.6% C 0.192 H 338.4°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#A12186
RGBrgb(161, 33, 134)
HSLhsl(313, 66%, 38%)
HSVhsv(313, 80%, 63%)
CMYKcmyk(0%, 79.5%, 16.8%, 36.9%)
CIE-LABlab(38.53, 60.08, -25.99)
CIE-LCHlch(38.53, 65.46, 336.60°)
OKLaboklab(49.56% 0.1784 -0.0706)
OKLCHoklch(49.56% 0.192 338.4)
XYZxyz(19.5454, 10.3879, 23.5254)
Luminance0.1039 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12186 #21A13C
analogous
#7C21A1 #A12186 #A12146
triadic
#A12186 #86A121 #2186A1
tetradic
#A12186 #A17C21 #21A13C #2146A1
square
#A12186 #A17C21 #21A13C #2146A1
split-complementary
#A12186 #46A121 #21A17C
monochromatic
#3B0C31 #6E175C #A12186 #D42CB0 #DE5EC3

Accessibility & contrast

On white

6.82
#A12186 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#A12186 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12186
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12186#FFFFFF#000000##FFFFFF
##A121861.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284E89
Deuteranopia (green-blind)
#546283
Tritanopia (blue-blind)
#AA2852
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a12186;
/* rgb */ color: rgb(161, 33, 134);
/* oklch */ color: oklch(49.6% 0.192 338.4);
Tailwind
colors: {
  custom: {
    50: '#c16ca9',
    500: '#a12186',
    950: '#000000',
  },
}
SCSS
$custom: #a12186;
$custom-light: #c16ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#a12186",
  "rgb": {
    "r": 161,
    "g": 33,
    "b": 134
  },
  "hsl": {
    "h": 312.656,
    "s": 65.979,
    "l": 38.039
  },
  "oklch": {
    "l": 0.4956,
    "c": 0.1918,
    "h": 338.4
  },
  "luminance": 0.10386
}

Semantic roles & 50–950 ramp

primary
#A12186
secondary
#5BC371
accent
#E9633F
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #A12186

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

Preview Lab → · Contrast checker → · Palette generator →

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