#A51886#A51886

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

Color values

HEX#A51886
RGBrgb(165, 24, 134)
HSLhsl(313, 75%, 37%)
HSVhsv(313, 85%, 65%)
CMYKcmyk(0%, 85.5%, 18.8%, 35.3%)
CIE-LABlab(38.51, 63.17, -25.97)
CIE-LCHlch(38.51, 68.30, 337.65°)
OKLaboklab(49.68% 0.1887 -0.0704)
OKLCHoklch(49.68% 0.201 339.5)
XYZxyz(20.1474, 10.3759, 23.4914)
Luminance0.1037 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A51886 #18A537
analogous
#7D18A5 #A51886 #A51840
triadic
#A51886 #86A518 #1886A5
tetradic
#A51886 #A57D18 #18A537 #1840A5
square
#A51886 #A57D18 #18A537 #1840A5
split-complementary
#A51886 #40A518 #18A57D
monochromatic
#3A082F #70105B #A51886 #DA20B1 #E652C5

Accessibility & contrast

On white

6.83
#A51886 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A51886
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A51886#FFFFFF#000000##FFFFFF
##A518861.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a51886;
/* rgb */ color: rgb(165, 24, 134);
/* oklch */ color: oklch(49.7% 0.201 339.5);
Tailwind
colors: {
  custom: {
    50: '#c46aa9',
    500: '#a51886',
    950: '#000000',
  },
}
SCSS
$custom: #a51886;
$custom-light: #c46aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#a51886",
  "rgb": {
    "r": 165,
    "g": 24,
    "b": 134
  },
  "hsl": {
    "h": 313.191,
    "s": 74.603,
    "l": 37.059
  },
  "oklch": {
    "l": 0.49681,
    "c": 0.2014,
    "h": 339.5
  },
  "luminance": 0.10374
}

Semantic roles & 50–950 ramp

primary
#A51886
secondary
#51C86B
accent
#F16037
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #A51886

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

Preview Lab → · Contrast checker → · Palette generator →

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