#A51C84#A51C84

#A51C84 is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.8% C 0.197 H 340.5°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#A51C84
RGBrgb(165, 28, 132)
HSLhsl(314, 71%, 38%)
HSVhsv(314, 83%, 65%)
CMYKcmyk(0%, 83%, 20%, 35.3%)
CIE-LABlab(38.72, 62.01, -24.41)
CIE-LCHlch(38.72, 66.64, 338.52°)
OKLaboklab(49.8% 0.1858 -0.0659)
OKLCHoklch(49.8% 0.197 340.5)
XYZxyz(20.0978, 10.4979, 22.7932)
Luminance0.1050 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A51C84 #1CA53D
analogous
#821CA5 #A51C84 #A51C3F
triadic
#A51C84 #84A51C #1C84A5
tetradic
#A51C84 #A5821C #1CA53D #1C3FA5
square
#A51C84 #A5821C #1CA53D #1C3FA5
split-complementary
#A51C84 #3FA51C #1CA582
monochromatic
#3C0A30 #71135A #A51C84 #D925AE #E359C1

Accessibility & contrast

On white

6.78
#A51C84 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#A51C84 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A51C84
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A51C84#FFFFFF#000000##FFFFFF
##A51C841.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294D87
Deuteranopia (green-blind)
#576381
Tritanopia (blue-blind)
#AF2150
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a51c84;
/* rgb */ color: rgb(165, 28, 132);
/* oklch */ color: oklch(49.8% 0.197 340.5);
Tailwind
colors: {
  custom: {
    50: '#c46ba8',
    500: '#a51c84',
    950: '#000000',
  },
}
SCSS
$custom: #a51c84;
$custom-light: #c46ba8;
$custom-dark: #000000;
JSON
{
  "hex": "#a51c84",
  "rgb": {
    "r": 165,
    "g": 28,
    "b": 132
  },
  "hsl": {
    "h": 314.453,
    "s": 70.984,
    "l": 37.843
  },
  "oklch": {
    "l": 0.49802,
    "c": 0.19713,
    "h": 340.5
  },
  "luminance": 0.10496
}

Semantic roles & 50–950 ramp

primary
#A51C84
secondary
#56C671
accent
#EE653A
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F

Preview Lab

Preview with #A51C84

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

Preview Lab → · Contrast checker → · Palette generator →

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