#A51F57#A51F57

#A51F57 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.2% C 0.173 H 1.7°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#A51F57
RGBrgb(165, 31, 87)
HSLhsl(335, 68%, 38%)
HSVhsv(335, 81%, 65%)
CMYKcmyk(0%, 81.2%, 47.3%, 35.3%)
CIE-LABlab(37.24, 56.19, 1.72)
CIE-LCHlch(37.24, 56.21, 1.75°)
OKLaboklab(48.16% 0.1726 0.005)
OKLCHoklch(48.16% 0.173 1.7)
XYZxyz(17.7288, 9.6699, 9.9479)
Luminance0.0967 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A51F57 #1FA56D
analogous
#A51F9A #A51F57 #A52A1F
triadic
#A51F57 #57A51F #1F57A5
tetradic
#A51F57 #9AA51F #1FA56D #2A1FA5
square
#A51F57 #9AA51F #1FA56D #2A1FA5
split-complementary
#A51F57 #1FA52A #1F9AA5
monochromatic
#3E0C21 #71153C #A51F57 #D72A72 #E15E94

Accessibility & contrast

On white

7.16
#A51F57 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A51F57
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A51F57#FFFFFF#000000##FFFFFF
##A51F571.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a51f57;
/* rgb */ color: rgb(165, 31, 87);
/* oklch */ color: oklch(48.2% 0.173 1.7);
Tailwind
colors: {
  custom: {
    50: '#c56a86',
    500: '#a51f57',
    950: '#000000',
  },
}
SCSS
$custom: #a51f57;
$custom-light: #c56a86;
$custom-dark: #000000;
JSON
{
  "hex": "#a51f57",
  "rgb": {
    "r": 165,
    "g": 31,
    "b": 87
  },
  "hsl": {
    "h": 334.925,
    "s": 68.367,
    "l": 38.431
  },
  "oklch": {
    "l": 0.4816,
    "c": 0.17263,
    "h": 1.7
  },
  "luminance": 0.09667
}

Semantic roles & 50–950 ramp

primary
#A51F57
secondary
#5BC599
accent
#EBA23D
background
#FCF6F8
surface
#F9ECEF
border
#D2C7CA
text
#14070B
muted
#827A7C

Preview Lab

Preview with #A51F57

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

Preview Lab → · Contrast checker → · Palette generator →

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