#A51C86#A51C86

#A51C86 is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.9% C 0.198 H 339.6°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#A51C86
RGBrgb(165, 28, 134)
HSLhsl(314, 71%, 38%)
HSVhsv(314, 83%, 65%)
CMYKcmyk(0%, 83%, 18.8%, 35.3%)
CIE-LABlab(38.82, 62.28, -25.49)
CIE-LCHlch(38.82, 67.29, 337.74°)
OKLaboklab(49.9% 0.186 -0.069)
OKLCHoklch(49.9% 0.198 339.6)
XYZxyz(20.2360, 10.5532, 23.5209)
Luminance0.1055 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A51C86 #1CA53B
analogous
#801CA5 #A51C86 #A51C41
triadic
#A51C86 #86A51C #1C86A5
tetradic
#A51C86 #A5801C #1CA53B #1C41A5
square
#A51C86 #A5801C #1CA53B #1C41A5
split-complementary
#A51C86 #41A51C #1CA580
monochromatic
#3C0A31 #71135C #A51C86 #D925B0 #E359C4

Accessibility & contrast

On white

6.75
#A51C86 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#A51C86 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A51C86
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A51C86#FFFFFF#000000##FFFFFF
##A51C861.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274E89
Deuteranopia (green-blind)
#566383
Tritanopia (blue-blind)
#AF2351
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a51c86;
/* rgb */ color: rgb(165, 28, 134);
/* oklch */ color: oklch(49.9% 0.198 339.6);
Tailwind
colors: {
  custom: {
    50: '#c46ba9',
    500: '#a51c86',
    950: '#000000',
  },
}
SCSS
$custom: #a51c86;
$custom-light: #c46ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#a51c86",
  "rgb": {
    "r": 165,
    "g": 28,
    "b": 134
  },
  "hsl": {
    "h": 313.577,
    "s": 70.984,
    "l": 37.843
  },
  "oklch": {
    "l": 0.49903,
    "c": 0.19838,
    "h": 339.6
  },
  "luminance": 0.10551
}

Semantic roles & 50–950 ramp

primary
#A51C86
secondary
#56C670
accent
#EE633A
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #A51C86

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

Preview Lab → · Contrast checker → · Palette generator →

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