#A51986#A51986

#A51986 is a mid, highly saturated pink. Relative luminance 0.104; OKLCH L 49.7% C 0.201 H 339.6°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#A51986
RGBrgb(165, 25, 134)
HSLhsl(313, 74%, 37%)
HSVhsv(313, 85%, 65%)
CMYKcmyk(0%, 84.8%, 18.8%, 35.3%)
CIE-LABlab(38.58, 62.96, -25.86)
CIE-LCHlch(38.58, 68.06, 337.67°)
OKLaboklab(49.73% 0.1881 -0.07)
OKLCHoklch(49.73% 0.201 339.6)
XYZxyz(20.1684, 10.4179, 23.4983)
Luminance0.1042 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A51986 #19A538
analogous
#7E19A5 #A51986 #A51940
triadic
#A51986 #86A519 #1986A5
tetradic
#A51986 #A57E19 #19A538 #1940A5
square
#A51986 #A57E19 #19A538 #1940A5
split-complementary
#A51986 #40A519 #19A57E
monochromatic
#3B0930 #70115B #A51986 #DA21B1 #E553C5

Accessibility & contrast

On white

6.81
#A51986 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A51986
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A51986#FFFFFF#000000##FFFFFF
##A519861.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254D89
Deuteranopia (green-blind)
#566283
Tritanopia (blue-blind)
#AF2050
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a51986;
/* rgb */ color: rgb(165, 25, 134);
/* oklch */ color: oklch(49.7% 0.201 339.6);
Tailwind
colors: {
  custom: {
    50: '#c46aa9',
    500: '#a51986',
    950: '#000000',
  },
}
SCSS
$custom: #a51986;
$custom-light: #c46aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#a51986",
  "rgb": {
    "r": 165,
    "g": 25,
    "b": 134
  },
  "hsl": {
    "h": 313.286,
    "s": 73.684,
    "l": 37.255
  },
  "oklch": {
    "l": 0.49734,
    "c": 0.20068,
    "h": 339.6
  },
  "luminance": 0.10416
}

Semantic roles & 50–950 ramp

primary
#A51986
secondary
#52C86C
accent
#F06037
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #A51986

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

Preview Lab → · Contrast checker → · Palette generator →

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