#A51F73#A51F73

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

Color values

HEX#A51F73
RGBrgb(165, 31, 115)
HSLhsl(322, 68%, 38%)
HSVhsv(322, 81%, 65%)
CMYKcmyk(0%, 81.2%, 30.3%, 35.3%)
CIE-LABlab(38.23, 59.11, -14.57)
CIE-LCHlch(38.23, 60.88, 346.15°)
OKLaboklab(49.21% 0.1806 -0.0384)
OKLCHoklch(49.21% 0.185 348)
XYZxyz(19.1026, 10.2194, 17.1829)
Luminance0.1022 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A51F73 #1FA551
analogous
#941FA5 #A51F73 #A51F30
triadic
#A51F73 #73A51F #1F73A5
tetradic
#A51F73 #A5941F #1FA551 #1F30A5
square
#A51F73 #A5941F #1FA551 #1F30A5
split-complementary
#A51F73 #30A51F #1FA594
monochromatic
#3E0C2B #71154F #A51F73 #D72A97 #E15EB0

Accessibility & contrast

On white

6.90
#A51F73 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#A51F73 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A51F73
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A51F73#FFFFFF#000000##FFFFFF
##A51F731.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364B75
Deuteranopia (green-blind)
#5E6270
Tritanopia (blue-blind)
#B11747
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a51f73;
/* rgb */ color: rgb(165, 31, 115);
/* oklch */ color: oklch(49.2% 0.185 348.0);
Tailwind
colors: {
  custom: {
    50: '#c46b9b',
    500: '#a51f73',
    950: '#000000',
  },
}
SCSS
$custom: #a51f73;
$custom-light: #c46b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#a51f73",
  "rgb": {
    "r": 165,
    "g": 31,
    "b": 115
  },
  "hsl": {
    "h": 322.388,
    "s": 68.367,
    "l": 38.431
  },
  "oklch": {
    "l": 0.49205,
    "c": 0.18462,
    "h": 348
  },
  "luminance": 0.10217
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A51F73

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

Preview Lab → · Contrast checker → · Palette generator →

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