#A51C85#A51C85

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

Color values

HEX#A51C85
RGBrgb(165, 28, 133)
HSLhsl(314, 71%, 38%)
HSVhsv(314, 83%, 65%)
CMYKcmyk(0%, 83%, 19.4%, 35.3%)
CIE-LABlab(38.77, 62.14, -24.95)
CIE-LCHlch(38.77, 66.97, 338.13°)
OKLaboklab(49.85% 0.1859 -0.0675)
OKLCHoklch(49.85% 0.198 340)
XYZxyz(20.1666, 10.5254, 23.1553)
Luminance0.1052 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A51C85 #1CA53C
analogous
#811CA5 #A51C85 #A51C40
triadic
#A51C85 #85A51C #1C85A5
tetradic
#A51C85 #A5811C #1CA53C #1C40A5
square
#A51C85 #A5811C #1CA53C #1C40A5
split-complementary
#A51C85 #40A51C #1CA581
monochromatic
#3C0A31 #71135B #A51C85 #D925AF #E359C3

Accessibility & contrast

On white

6.76
#A51C85 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A51C85
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A51C85#FFFFFF#000000##FFFFFF
##A51C851.006.763.106.76
#FFFFFF6.761.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#284E88
Deuteranopia (green-blind)
#576382
Tritanopia (blue-blind)
#AF2250
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a51c85;
/* rgb */ color: rgb(165, 28, 133);
/* oklch */ color: oklch(49.9% 0.198 340.0);
Tailwind
colors: {
  custom: {
    50: '#c46ba9',
    500: '#a51c85',
    950: '#000000',
  },
}
SCSS
$custom: #a51c85;
$custom-light: #c46ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#a51c85",
  "rgb": {
    "r": 165,
    "g": 28,
    "b": 133
  },
  "hsl": {
    "h": 314.015,
    "s": 70.984,
    "l": 37.843
  },
  "oklch": {
    "l": 0.49852,
    "c": 0.19775,
    "h": 340
  },
  "luminance": 0.10523
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A51C85

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

Preview Lab → · Contrast checker → · Palette generator →

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