#A51C82#A51C82

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

Color values

HEX#A51C82
RGBrgb(165, 28, 130)
HSLhsl(315, 71%, 38%)
HSVhsv(315, 83%, 65%)
CMYKcmyk(0%, 83%, 21.2%, 35.3%)
CIE-LABlab(38.63, 61.75, -23.32)
CIE-LCHlch(38.63, 66.00, 339.31°)
OKLaboklab(49.7% 0.1855 -0.0628)
OKLCHoklch(49.7% 0.196 341.3)
XYZxyz(19.9623, 10.4437, 22.0793)
Luminance0.1044 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A51C82 #1CA53F
analogous
#831CA5 #A51C82 #A51C3E
triadic
#A51C82 #82A51C #1C82A5
tetradic
#A51C82 #A5831C #1CA53F #1C3EA5
square
#A51C82 #A5831C #1CA53F #1C3EA5
split-complementary
#A51C82 #3EA51C #1CA583
monochromatic
#3C0A30 #711359 #A51C82 #D925AB #E359BF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A51C82#FFFFFF#000000##FFFFFF
##A51C821.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)
#2B4D85
Deuteranopia (green-blind)
#58637F
Tritanopia (blue-blind)
#B0204F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a51c82;
/* rgb */ color: rgb(165, 28, 130);
/* oklch */ color: oklch(49.7% 0.196 341.3);
Tailwind
colors: {
  custom: {
    50: '#c46ba6',
    500: '#a51c82',
    950: '#000000',
  },
}
SCSS
$custom: #a51c82;
$custom-light: #c46ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#a51c82",
  "rgb": {
    "r": 165,
    "g": 28,
    "b": 130
  },
  "hsl": {
    "h": 315.328,
    "s": 70.984,
    "l": 37.843
  },
  "oklch": {
    "l": 0.49704,
    "c": 0.19587,
    "h": 341.3
  },
  "luminance": 0.10442
}

Semantic roles & 50–950 ramp

primary
#A51C82
secondary
#56C673
accent
#EE683A
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F

Preview Lab

Preview with #A51C82

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

Preview Lab → · Contrast checker → · Palette generator →

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