#A51F55#A51F55

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

Color values

HEX#A51F55
RGBrgb(165, 31, 85)
HSLhsl(336, 68%, 38%)
HSVhsv(336, 81%, 65%)
CMYKcmyk(0%, 81.2%, 48.5%, 35.3%)
CIE-LABlab(37.18, 56.01, 2.92)
CIE-LCHlch(37.18, 56.08, 2.98°)
OKLaboklab(48.1% 0.1719 0.0081)
OKLCHoklch(48.1% 0.172 2.7)
XYZxyz(17.6483, 9.6376, 9.5235)
Luminance0.0964 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A51F55 #1FA56F
analogous
#A51F98 #A51F55 #A52C1F
triadic
#A51F55 #55A51F #1F55A5
tetradic
#A51F55 #98A51F #1FA56F #2C1FA5
square
#A51F55 #98A51F #1FA56F #2C1FA5
split-complementary
#A51F55 #1FA52C #1F98A5
monochromatic
#3E0C20 #71153A #A51F55 #D72A70 #E15E92

Accessibility & contrast

On white

7.17
#A51F55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#A51F55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A51F55
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A51F55#FFFFFF#000000##FFFFFF
##A51F551.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a51f55;
/* rgb */ color: rgb(165, 31, 85);
/* oklch */ color: oklch(48.1% 0.172 2.7);
Tailwind
colors: {
  custom: {
    50: '#c66a84',
    500: '#a51f55',
    950: '#000000',
  },
}
SCSS
$custom: #a51f55;
$custom-light: #c66a84;
$custom-dark: #000000;
JSON
{
  "hex": "#a51f55",
  "rgb": {
    "r": 165,
    "g": 31,
    "b": 85
  },
  "hsl": {
    "h": 335.821,
    "s": 68.367,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48097,
    "c": 0.17205,
    "h": 2.7
  },
  "luminance": 0.09635
}

Semantic roles & 50–950 ramp

primary
#A51F55
secondary
#5BC59A
accent
#EBA53D
background
#FCF6F8
surface
#F9ECEF
border
#D2C7CA
text
#14070A
muted
#827A7C

Preview Lab

Preview with #A51F55

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

Preview Lab → · Contrast checker → · Palette generator →

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