#A51F74#A51F74

#A51F74 is a mid, vivid pink. Relative luminance 0.102; OKLCH L 49.2% C 0.185 H 347.5°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#A51F74
RGBrgb(165, 31, 116)
HSLhsl(322, 68%, 38%)
HSVhsv(322, 81%, 65%)
CMYKcmyk(0%, 81.2%, 29.7%, 35.3%)
CIE-LABlab(38.27, 59.23, -15.14)
CIE-LCHlch(38.27, 61.14, 345.66°)
OKLaboklab(49.25% 0.1808 -0.0399)
OKLCHoklch(49.25% 0.185 347.5)
XYZxyz(19.1604, 10.2425, 17.4876)
Luminance0.1024 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A51F74 #1FA550
analogous
#931FA5 #A51F74 #A51F31
triadic
#A51F74 #74A51F #1F74A5
tetradic
#A51F74 #A5931F #1FA550 #1F31A5
square
#A51F74 #A5931F #1FA550 #1F31A5
split-complementary
#A51F74 #31A51F #1FA593
monochromatic
#3E0C2C #711550 #A51F74 #D72A98 #E15EB1

Accessibility & contrast

On white

6.89
#A51F74 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#A51F74 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A51F74
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A51F74#FFFFFF#000000##FFFFFF
##A51F741.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354B76
Deuteranopia (green-blind)
#5D6271
Tritanopia (blue-blind)
#B11848
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a51f74;
/* rgb */ color: rgb(165, 31, 116);
/* oklch */ color: oklch(49.2% 0.185 347.5);
Tailwind
colors: {
  custom: {
    50: '#c46b9c',
    500: '#a51f74',
    950: '#000000',
  },
}
SCSS
$custom: #a51f74;
$custom-light: #c46b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#a51f74",
  "rgb": {
    "r": 165,
    "g": 31,
    "b": 116
  },
  "hsl": {
    "h": 321.94,
    "s": 68.367,
    "l": 38.431
  },
  "oklch": {
    "l": 0.49248,
    "c": 0.18516,
    "h": 347.5
  },
  "luminance": 0.1024
}

Semantic roles & 50–950 ramp

primary
#A51F74
secondary
#5BC582
accent
#EB7C3D
background
#FCF6F9
surface
#F9ECF2
border
#D2C7CC
text
#13080E
muted
#827A7E

Preview Lab

Preview with #A51F74

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

Preview Lab → · Contrast checker → · Palette generator →

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