#A12087#A12087

#A12087 is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.5% C 0.193 H 338.0°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#A12087
RGBrgb(161, 32, 135)
HSLhsl(312, 67%, 38%)
HSVhsv(312, 80%, 63%)
CMYKcmyk(0%, 80.1%, 16.1%, 36.9%)
CIE-LABlab(38.48, 60.50, -26.68)
CIE-LCHlch(38.48, 66.12, 336.20°)
OKLaboklab(49.54% 0.1793 -0.0725)
OKLCHoklch(49.54% 0.193 338)
XYZxyz(19.5881, 10.3613, 23.8853)
Luminance0.1036 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A12087 #20A13A
analogous
#7A20A1 #A12087 #A12046
triadic
#A12087 #87A120 #2087A1
tetradic
#A12087 #A17A20 #20A13A #2046A1
square
#A12087 #A17A20 #20A13A #2046A1
split-complementary
#A12087 #46A120 #20A17A
monochromatic
#3B0C31 #6E165C #A12087 #D42AB2 #DF5DC5

Accessibility & contrast

On white

6.84
#A12087 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#A12087 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A12087
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A12087#FFFFFF#000000##FFFFFF
##A120871.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274E8A
Deuteranopia (green-blind)
#546284
Tritanopia (blue-blind)
#AA2852
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a12087;
/* rgb */ color: rgb(161, 32, 135);
/* oklch */ color: oklch(49.5% 0.193 338.0);
Tailwind
colors: {
  custom: {
    50: '#c16caa',
    500: '#a12087',
    950: '#000000',
  },
}
SCSS
$custom: #a12087;
$custom-light: #c16caa;
$custom-dark: #000000;
JSON
{
  "hex": "#a12087",
  "rgb": {
    "r": 161,
    "g": 32,
    "b": 135
  },
  "hsl": {
    "h": 312.093,
    "s": 66.839,
    "l": 37.843
  },
  "oklch": {
    "l": 0.49542,
    "c": 0.19339,
    "h": 338
  },
  "luminance": 0.10359
}

Semantic roles & 50–950 ramp

primary
#A12087
secondary
#5AC36F
accent
#EA613E
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #A12087

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

Preview Lab → · Contrast checker → · Palette generator →

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