#A51F85#A51F85

#A51F85 is a mid, vivid pink. Relative luminance 0.107; OKLCH L 50.0% C 0.195 H 340.1°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#A51F85
RGBrgb(165, 31, 133)
HSLhsl(314, 68%, 38%)
HSVhsv(314, 81%, 65%)
CMYKcmyk(0%, 81.2%, 19.4%, 35.3%)
CIE-LABlab(39.03, 61.40, -24.55)
CIE-LCHlch(39.03, 66.12, 338.21°)
OKLaboklab(50.04% 0.1836 -0.0664)
OKLCHoklch(50.04% 0.195 340.1)
XYZxyz(20.2413, 10.6749, 23.1802)
Luminance0.1067 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A51F85 #1FA53F
analogous
#821FA5 #A51F85 #A51F42
triadic
#A51F85 #85A51F #1F85A5
tetradic
#A51F85 #A5821F #1FA53F #1F42A5
square
#A51F85 #A5821F #1FA53F #1F42A5
split-complementary
#A51F85 #42A51F #1FA582
monochromatic
#3E0C32 #71155B #A51F85 #D72AAE #E15EC1

Accessibility & contrast

On white

6.70
#A51F85 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#A51F85 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A51F85
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A51F85#FFFFFF#000000##FFFFFF
##A51F851.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4E88
Deuteranopia (green-blind)
#586382
Tritanopia (blue-blind)
#AF2451
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a51f85;
/* rgb */ color: rgb(165, 31, 133);
/* oklch */ color: oklch(50.0% 0.195 340.1);
Tailwind
colors: {
  custom: {
    50: '#c46ca8',
    500: '#a51f85',
    950: '#000000',
  },
}
SCSS
$custom: #a51f85;
$custom-light: #c46ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#a51f85",
  "rgb": {
    "r": 165,
    "g": 31,
    "b": 133
  },
  "hsl": {
    "h": 314.328,
    "s": 68.367,
    "l": 38.431
  },
  "oklch": {
    "l": 0.50038,
    "c": 0.19523,
    "h": 340.1
  },
  "luminance": 0.10673
}

Semantic roles & 50–950 ramp

primary
#A51F85
secondary
#5BC574
accent
#EB663D
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13080F
muted
#827A7F

Preview Lab

Preview with #A51F85

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

Preview Lab → · Contrast checker → · Palette generator →

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