#A51E54#A51E54

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

Color values

HEX#A51E54
RGBrgb(165, 30, 84)
HSLhsl(336, 69%, 38%)
HSVhsv(336, 82%, 65%)
CMYKcmyk(0%, 81.8%, 49.1%, 35.3%)
CIE-LABlab(37.06, 56.19, 3.38)
CIE-LCHlch(37.06, 56.29, 3.44°)
OKLaboklab(48% 0.1724 0.0092)
OKLCHoklch(48% 0.173 3.1)
XYZxyz(17.5831, 9.5704, 9.3072)
Luminance0.0957 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A51E54 #1EA56F
analogous
#A51E97 #A51E54 #A52B1E
triadic
#A51E54 #54A51E #1E54A5
tetradic
#A51E54 #97A51E #1EA56F #2B1EA5
square
#A51E54 #97A51E #1EA56F #2B1EA5
split-complementary
#A51E54 #1EA52B #1E97A5
monochromatic
#3D0B1F #71153A #A51E54 #D8286F #E15C91

Accessibility & contrast

On white

7.21
#A51E54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#A51E54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A51E54
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A51E54#FFFFFF#000000##FFFFFF
##A51E541.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414655
Deuteranopia (green-blind)
#656151
Tritanopia (blue-blind)
#B40037
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a51e54;
/* rgb */ color: rgb(165, 30, 84);
/* oklch */ color: oklch(48.0% 0.173 3.1);
Tailwind
colors: {
  custom: {
    50: '#c66a83',
    500: '#a51e54',
    950: '#000000',
  },
}
SCSS
$custom: #a51e54;
$custom-light: #c66a83;
$custom-dark: #000000;
JSON
{
  "hex": "#a51e54",
  "rgb": {
    "r": 165,
    "g": 30,
    "b": 84
  },
  "hsl": {
    "h": 336,
    "s": 69.231,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47997,
    "c": 0.17262,
    "h": 3.1
  },
  "luminance": 0.09568
}

Semantic roles & 50–950 ramp

primary
#A51E54
secondary
#59C59A
accent
#ECA63C
background
#FCF6F8
surface
#F9ECEF
border
#D2C7CA
text
#14070A
muted
#827A7C

Preview Lab

Preview with #A51E54

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

Preview Lab → · Contrast checker → · Palette generator →

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