#A51E57#A51E57

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

Color values

HEX#A51E57
RGBrgb(165, 30, 87)
HSLhsl(335, 69%, 38%)
HSVhsv(335, 82%, 65%)
CMYKcmyk(0%, 81.8%, 47.3%, 35.3%)
CIE-LABlab(37.15, 56.46, 1.58)
CIE-LCHlch(37.15, 56.48, 1.61°)
OKLaboklab(48.09% 0.1734 0.0047)
OKLCHoklch(48.09% 0.173 1.5)
XYZxyz(17.7031, 9.6184, 9.9393)
Luminance0.0962 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A51E57 #1EA56C
analogous
#A51E9A #A51E57 #A5291E
triadic
#A51E57 #57A51E #1E57A5
tetradic
#A51E57 #9AA51E #1EA56C #291EA5
square
#A51E57 #9AA51E #1EA56C #291EA5
split-complementary
#A51E57 #1EA529 #1E9AA5
monochromatic
#3D0B20 #71153C #A51E57 #D82872 #E15C94

Accessibility & contrast

On white

7.18
#A51E57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A51E57
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A51E57#FFFFFF#000000##FFFFFF
##A51E571.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a51e57;
/* rgb */ color: rgb(165, 30, 87);
/* oklch */ color: oklch(48.1% 0.173 1.5);
Tailwind
colors: {
  custom: {
    50: '#c56a86',
    500: '#a51e57',
    950: '#000000',
  },
}
SCSS
$custom: #a51e57;
$custom-light: #c56a86;
$custom-dark: #000000;
JSON
{
  "hex": "#a51e57",
  "rgb": {
    "r": 165,
    "g": 30,
    "b": 87
  },
  "hsl": {
    "h": 334.667,
    "s": 69.231,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48091,
    "c": 0.17349,
    "h": 1.5
  },
  "luminance": 0.09616
}

Semantic roles & 50–950 ramp

primary
#A51E57
secondary
#59C598
accent
#ECA23C
background
#FCF6F8
surface
#F9ECEF
border
#D2C7CA
text
#14070B
muted
#827A7C

Preview Lab

Preview with #A51E57

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

Preview Lab → · Contrast checker → · Palette generator →

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