#A51F72#A51F72

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

Color values

HEX#A51F72
RGBrgb(165, 31, 114)
HSLhsl(323, 68%, 38%)
HSVhsv(323, 81%, 65%)
CMYKcmyk(0%, 81.2%, 30.9%, 35.3%)
CIE-LABlab(38.19, 59.00, -14.01)
CIE-LCHlch(38.19, 60.64, 346.64°)
OKLaboklab(49.16% 0.1804 -0.0368)
OKLCHoklch(49.16% 0.184 348.5)
XYZxyz(19.0453, 10.1965, 16.8815)
Luminance0.1019 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A51F72 #1FA552
analogous
#951FA5 #A51F72 #A51F2F
triadic
#A51F72 #72A51F #1F72A5
tetradic
#A51F72 #A5951F #1FA552 #1F2FA5
square
#A51F72 #A5951F #1FA552 #1F2FA5
split-complementary
#A51F72 #2FA51F #1FA595
monochromatic
#3E0C2B #71154E #A51F72 #D72A95 #E15EAF

Accessibility & contrast

On white

6.91
#A51F72 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A51F72
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A51F72#FFFFFF#000000##FFFFFF
##A51F721.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364B74
Deuteranopia (green-blind)
#5E626F
Tritanopia (blue-blind)
#B11647
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a51f72;
/* rgb */ color: rgb(165, 31, 114);
/* oklch */ color: oklch(49.2% 0.184 348.5);
Tailwind
colors: {
  custom: {
    50: '#c46b9a',
    500: '#a51f72',
    950: '#000000',
  },
}
SCSS
$custom: #a51f72;
$custom-light: #c46b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#a51f72",
  "rgb": {
    "r": 165,
    "g": 31,
    "b": 114
  },
  "hsl": {
    "h": 322.836,
    "s": 68.367,
    "l": 38.431
  },
  "oklch": {
    "l": 0.49163,
    "c": 0.18409,
    "h": 348.5
  },
  "luminance": 0.10194
}

Semantic roles & 50–950 ramp

primary
#A51F72
secondary
#5BC583
accent
#EB7F3D
background
#FCF6F9
surface
#F9ECF2
border
#D2C7CC
text
#13080E
muted
#827A7E

Preview Lab

Preview with #A51F72

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

Preview Lab → · Contrast checker → · Palette generator →

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