#A12286#A12286

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

Color values

HEX#A12286
RGBrgb(161, 34, 134)
HSLhsl(313, 65%, 38%)
HSVhsv(313, 79%, 63%)
CMYKcmyk(0%, 78.9%, 16.8%, 36.9%)
CIE-LABlab(38.63, 59.80, -25.84)
CIE-LCHlch(38.63, 65.14, 336.63°)
OKLaboklab(49.63% 0.1775 -0.0701)
OKLCHoklch(49.63% 0.191 338.4)
XYZxyz(19.5735, 10.4443, 23.5347)
Luminance0.1044 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12286 #22A13D
analogous
#7C22A1 #A12286 #A12246
triadic
#A12286 #86A122 #2286A1
tetradic
#A12286 #A17C22 #22A13D #2246A1
square
#A12286 #A17C22 #22A13D #2246A1
split-complementary
#A12286 #46A122 #22A17C
monochromatic
#3C0D32 #6E175C #A12286 #D32DB0 #DD60C3

Accessibility & contrast

On white

6.80
#A12286 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#A12286 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12286
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12286#FFFFFF#000000##FFFFFF
##A122861.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294E89
Deuteranopia (green-blind)
#556283
Tritanopia (blue-blind)
#AA2952
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a12286;
/* rgb */ color: rgb(161, 34, 134);
/* oklch */ color: oklch(49.6% 0.191 338.4);
Tailwind
colors: {
  custom: {
    50: '#c16ca9',
    500: '#a12286',
    950: '#000000',
  },
}
SCSS
$custom: #a12286;
$custom-light: #c16ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#a12286",
  "rgb": {
    "r": 161,
    "g": 34,
    "b": 134
  },
  "hsl": {
    "h": 312.756,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.49631,
    "c": 0.19084,
    "h": 338.4
  },
  "luminance": 0.10442
}

Semantic roles & 50–950 ramp

primary
#A12286
secondary
#5DC272
accent
#E86440
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #A12286

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

Preview Lab → · Contrast checker → · Palette generator →

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