#A51E56#A51E56

#A51E56 is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.1% C 0.173 H 2.1°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#A51E56
RGBrgb(165, 30, 86)
HSLhsl(335, 69%, 38%)
HSVhsv(335, 82%, 65%)
CMYKcmyk(0%, 81.8%, 47.9%, 35.3%)
CIE-LABlab(37.12, 56.37, 2.18)
CIE-LCHlch(37.12, 56.41, 2.22°)
OKLaboklab(48.06% 0.1731 0.0062)
OKLCHoklch(48.06% 0.173 2.1)
XYZxyz(17.6625, 9.6022, 9.7256)
Luminance0.0960 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A51E56 #1EA56D
analogous
#A51E99 #A51E56 #A5291E
triadic
#A51E56 #56A51E #1E56A5
tetradic
#A51E56 #99A51E #1EA56D #291EA5
square
#A51E56 #99A51E #1EA56D #291EA5
split-complementary
#A51E56 #1EA529 #1E99A5
monochromatic
#3D0B20 #71153B #A51E56 #D82871 #E15C93

Accessibility & contrast

On white

7.19
#A51E56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#A51E56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A51E56
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A51E56#FFFFFF#000000##FFFFFF
##A51E561.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404757
Deuteranopia (green-blind)
#646153
Tritanopia (blue-blind)
#B40038
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a51e56;
/* rgb */ color: rgb(165, 30, 86);
/* oklch */ color: oklch(48.1% 0.173 2.1);
Tailwind
colors: {
  custom: {
    50: '#c66a85',
    500: '#a51e56',
    950: '#000000',
  },
}
SCSS
$custom: #a51e56;
$custom-light: #c66a85;
$custom-dark: #000000;
JSON
{
  "hex": "#a51e56",
  "rgb": {
    "r": 165,
    "g": 30,
    "b": 86
  },
  "hsl": {
    "h": 335.111,
    "s": 69.231,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48059,
    "c": 0.17319,
    "h": 2.1
  },
  "luminance": 0.096
}

Semantic roles & 50–950 ramp

primary
#A51E56
secondary
#59C599
accent
#ECA33C
background
#FCF6F8
surface
#F9ECEF
border
#D2C7CA
text
#14070B
muted
#827A7C

Preview Lab

Preview with #A51E56

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

Preview Lab → · Contrast checker → · Palette generator →

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