#A51A4A#A51A4A

#A51A4A is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.4% C 0.173 H 7.6°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#A51A4A
RGBrgb(165, 26, 74)
HSLhsl(339, 73%, 37%)
HSVhsv(339, 84%, 65%)
CMYKcmyk(0%, 84.2%, 55.2%, 35.3%)
CIE-LABlab(36.43, 56.39, 8.94)
CIE-LCHlch(36.43, 57.10, 9.01°)
OKLaboklab(47.45% 0.1719 0.0229)
OKLCHoklch(47.45% 0.173 7.6)
XYZxyz(17.1241, 9.2351, 7.3581)
Luminance0.0923 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A51A4A #1AA575
analogous
#A51A8F #A51A4A #A5301A
triadic
#A51A4A #4AA51A #1A4AA5
tetradic
#A51A4A #8FA51A #1AA575 #301AA5
square
#A51A4A #8FA51A #1AA575 #301AA5
split-complementary
#A51A4A #1AA530 #1A8FA5
monochromatic
#3B091B #701232 #A51A4A #DA2262 #E45587

Accessibility & contrast

On white

7.38
#A51A4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#A51A4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A51A4A
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A51A4A#FFFFFF#000000##FFFFFF
##A51A4A1.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42444B
Deuteranopia (green-blind)
#655F47
Tritanopia (blue-blind)
#B50030
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a51a4a;
/* rgb */ color: rgb(165, 26, 74);
/* oklch */ color: oklch(47.4% 0.173 7.6);
Tailwind
colors: {
  custom: {
    50: '#c6687c',
    500: '#a51a4a',
    950: '#000000',
  },
}
SCSS
$custom: #a51a4a;
$custom-light: #c6687c;
$custom-dark: #000000;
JSON
{
  "hex": "#a51a4a",
  "rgb": {
    "r": 165,
    "g": 26,
    "b": 74
  },
  "hsl": {
    "h": 339.281,
    "s": 72.775,
    "l": 37.451
  },
  "oklch": {
    "l": 0.47448,
    "c": 0.17344,
    "h": 7.6
  },
  "luminance": 0.09233
}

Semantic roles & 50–950 ramp

primary
#A51A4A
secondary
#54C79F
accent
#EFB038
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#140709
muted
#837A7B

Preview Lab

Preview with #A51A4A

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

Preview Lab → · Contrast checker → · Palette generator →

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