#A51F71#A51F71

#A51F71 is a mid, vivid pink. Relative luminance 0.102; OKLCH L 49.1% C 0.184 H 348.9°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#A51F71
RGBrgb(165, 31, 113)
HSLhsl(323, 68%, 38%)
HSVhsv(323, 81%, 65%)
CMYKcmyk(0%, 81.2%, 31.5%, 35.3%)
CIE-LABlab(38.15, 58.88, -13.44)
CIE-LCHlch(38.15, 60.39, 347.14°)
OKLaboklab(49.12% 0.1802 -0.0353)
OKLCHoklch(49.12% 0.184 348.9)
XYZxyz(18.9887, 10.1738, 16.5834)
Luminance0.1017 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A51F71 #1FA553
analogous
#961FA5 #A51F71 #A51F2E
triadic
#A51F71 #71A51F #1F71A5
tetradic
#A51F71 #A5961F #1FA553 #1F2EA5
square
#A51F71 #A5961F #1FA553 #1F2EA5
split-complementary
#A51F71 #2EA51F #1FA596
monochromatic
#3E0C2A #71154E #A51F71 #D72A94 #E15EAE

Accessibility & contrast

On white

6.92
#A51F71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#A51F71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A51F71
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A51F71#FFFFFF#000000##FFFFFF
##A51F711.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374B73
Deuteranopia (green-blind)
#5E626E
Tritanopia (blue-blind)
#B11546
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a51f71;
/* rgb */ color: rgb(165, 31, 113);
/* oklch */ color: oklch(49.1% 0.184 348.9);
Tailwind
colors: {
  custom: {
    50: '#c46b99',
    500: '#a51f71',
    950: '#000000',
  },
}
SCSS
$custom: #a51f71;
$custom-light: #c46b99;
$custom-dark: #000000;
JSON
{
  "hex": "#a51f71",
  "rgb": {
    "r": 165,
    "g": 31,
    "b": 113
  },
  "hsl": {
    "h": 323.284,
    "s": 68.367,
    "l": 38.431
  },
  "oklch": {
    "l": 0.4912,
    "c": 0.18357,
    "h": 348.9
  },
  "luminance": 0.10172
}

Semantic roles & 50–950 ramp

primary
#A51F71
secondary
#5BC584
accent
#EB803D
background
#FCF6F9
surface
#F9ECF2
border
#D2C7CC
text
#13080E
muted
#827A7E

Preview Lab

Preview with #A51F71

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

Preview Lab → · Contrast checker → · Palette generator →

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