#A51F70#A51F70

#A51F70 is a mid, vivid pink. Relative luminance 0.101; OKLCH L 49.1% C 0.183 H 349.4°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#A51F70
RGBrgb(165, 31, 112)
HSLhsl(324, 68%, 38%)
HSVhsv(324, 81%, 65%)
CMYKcmyk(0%, 81.2%, 32.1%, 35.3%)
CIE-LABlab(38.11, 58.76, -12.87)
CIE-LCHlch(38.11, 60.16, 347.64°)
OKLaboklab(49.08% 0.1799 -0.0337)
OKLCHoklch(49.08% 0.183 349.4)
XYZxyz(18.9327, 10.1514, 16.2885)
Luminance0.1015 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A51F70 #1FA554
analogous
#971FA5 #A51F70 #A51F2D
triadic
#A51F70 #70A51F #1F70A5
tetradic
#A51F70 #A5971F #1FA554 #1F2DA5
square
#A51F70 #A5971F #1FA554 #1F2DA5
split-complementary
#A51F70 #2DA51F #1FA597
monochromatic
#3E0C2A #71154D #A51F70 #D72A93 #E15EAD

Accessibility & contrast

On white

6.93
#A51F70 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A51F70
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A51F70#FFFFFF#000000##FFFFFF
##A51F701.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374B72
Deuteranopia (green-blind)
#5E626D
Tritanopia (blue-blind)
#B11446
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a51f70;
/* rgb */ color: rgb(165, 31, 112);
/* oklch */ color: oklch(49.1% 0.183 349.4);
Tailwind
colors: {
  custom: {
    50: '#c46b99',
    500: '#a51f70',
    950: '#000000',
  },
}
SCSS
$custom: #a51f70;
$custom-light: #c46b99;
$custom-dark: #000000;
JSON
{
  "hex": "#a51f70",
  "rgb": {
    "r": 165,
    "g": 31,
    "b": 112
  },
  "hsl": {
    "h": 323.731,
    "s": 68.367,
    "l": 38.431
  },
  "oklch": {
    "l": 0.49079,
    "c": 0.18305,
    "h": 349.4
  },
  "luminance": 0.10149
}

Semantic roles & 50–950 ramp

primary
#A51F70
secondary
#5BC585
accent
#EB823D
background
#FCF6F9
surface
#F9ECF2
border
#D2C7CC
text
#13080D
muted
#827A7E

Preview Lab

Preview with #A51F70

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

Preview Lab → · Contrast checker → · Palette generator →

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