#A51985#A51985

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

Color values

HEX#A51985
RGBrgb(165, 25, 133)
HSLhsl(314, 74%, 37%)
HSVhsv(314, 85%, 65%)
CMYKcmyk(0%, 84.8%, 19.4%, 35.3%)
CIE-LABlab(38.53, 62.83, -25.32)
CIE-LCHlch(38.53, 67.73, 338.05°)
OKLaboklab(49.68% 0.188 -0.0685)
OKLCHoklch(49.68% 0.2 340)
XYZxyz(20.0990, 10.3902, 23.1328)
Luminance0.1039 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A51985 #19A539
analogous
#7F19A5 #A51985 #A5193F
triadic
#A51985 #85A519 #1985A5
tetradic
#A51985 #A57F19 #19A539 #193FA5
square
#A51985 #A57F19 #19A539 #193FA5
split-complementary
#A51985 #3FA519 #19A57F
monochromatic
#3B092F #70115A #A51985 #DA21B0 #E553C4

Accessibility & contrast

On white

6.82
#A51985 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#A51985 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A51985
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A51985#FFFFFF#000000##FFFFFF
##A519851.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264D88
Deuteranopia (green-blind)
#566282
Tritanopia (blue-blind)
#AF2050
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a51985;
/* rgb */ color: rgb(165, 25, 133);
/* oklch */ color: oklch(49.7% 0.200 340.0);
Tailwind
colors: {
  custom: {
    50: '#c46aa9',
    500: '#a51985',
    950: '#000000',
  },
}
SCSS
$custom: #a51985;
$custom-light: #c46aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#a51985",
  "rgb": {
    "r": 165,
    "g": 25,
    "b": 133
  },
  "hsl": {
    "h": 313.714,
    "s": 73.684,
    "l": 37.255
  },
  "oklch": {
    "l": 0.49683,
    "c": 0.20006,
    "h": 340
  },
  "luminance": 0.10388
}

Semantic roles & 50–950 ramp

primary
#A51985
secondary
#52C86D
accent
#F06237
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #A51985

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

Preview Lab → · Contrast checker → · Palette generator →

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