#A51F77#A51F77

#A51F77 is a mid, vivid pink. Relative luminance 0.103; OKLCH L 49.4% C 0.187 H 346.2°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#A51F77
RGBrgb(165, 31, 119)
HSLhsl(321, 68%, 38%)
HSVhsv(321, 81%, 65%)
CMYKcmyk(0%, 81.2%, 27.9%, 35.3%)
CIE-LABlab(38.40, 59.60, -16.82)
CIE-LCHlch(38.40, 61.93, 344.24°)
OKLaboklab(49.38% 0.1814 -0.0446)
OKLCHoklch(49.38% 0.187 346.2)
XYZxyz(19.3377, 10.3134, 18.4215)
Luminance0.1031 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A51F77 #1FA54D
analogous
#901FA5 #A51F77 #A51F34
triadic
#A51F77 #77A51F #1F77A5
tetradic
#A51F77 #A5901F #1FA54D #1F34A5
square
#A51F77 #A5901F #1FA54D #1F34A5
split-complementary
#A51F77 #34A51F #1FA590
monochromatic
#3E0C2D #711552 #A51F77 #D72A9C #E15EB4

Accessibility & contrast

On white

6.86
#A51F77 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#A51F77 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A51F77
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A51F77#FFFFFF#000000##FFFFFF
##A51F771.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344C79
Deuteranopia (green-blind)
#5C6274
Tritanopia (blue-blind)
#B11A49
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a51f77;
/* rgb */ color: rgb(165, 31, 119);
/* oklch */ color: oklch(49.4% 0.187 346.2);
Tailwind
colors: {
  custom: {
    50: '#c46b9e',
    500: '#a51f77',
    950: '#000000',
  },
}
SCSS
$custom: #a51f77;
$custom-light: #c46b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#a51f77",
  "rgb": {
    "r": 165,
    "g": 31,
    "b": 119
  },
  "hsl": {
    "h": 320.597,
    "s": 68.367,
    "l": 38.431
  },
  "oklch": {
    "l": 0.4938,
    "c": 0.18683,
    "h": 346.2
  },
  "luminance": 0.10311
}

Semantic roles & 50–950 ramp

primary
#A51F77
secondary
#5BC57F
accent
#EB793D
background
#FCF6F9
surface
#F9ECF2
border
#D2C7CC
text
#13080E
muted
#827A7E

Preview Lab

Preview with #A51F77

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

Preview Lab → · Contrast checker → · Palette generator →

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