#A51F58#A51F58

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

Color values

HEX#A51F58
RGBrgb(165, 31, 88)
HSLhsl(334, 68%, 38%)
HSVhsv(334, 81%, 65%)
CMYKcmyk(0%, 81.2%, 46.7%, 35.3%)
CIE-LABlab(37.27, 56.28, 1.12)
CIE-LCHlch(37.27, 56.29, 1.14°)
OKLaboklab(48.19% 0.1729 0.0035)
OKLCHoklch(48.19% 0.173 1.2)
XYZxyz(17.7700, 9.6863, 10.1645)
Luminance0.0968 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A51F58 #1FA56C
analogous
#A51F9B #A51F58 #A5291F
triadic
#A51F58 #58A51F #1F58A5
tetradic
#A51F58 #9BA51F #1FA56C #291FA5
square
#A51F58 #9BA51F #1FA56C #291FA5
split-complementary
#A51F58 #1FA529 #1F9BA5
monochromatic
#3E0C21 #71153D #A51F58 #D72A74 #E15E95

Accessibility & contrast

On white

7.15
#A51F58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#A51F58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A51F58
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A51F58#FFFFFF#000000##FFFFFF
##A51F581.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404759
Deuteranopia (green-blind)
#646155
Tritanopia (blue-blind)
#B40039
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a51f58;
/* rgb */ color: rgb(165, 31, 88);
/* oklch */ color: oklch(48.2% 0.173 1.2);
Tailwind
colors: {
  custom: {
    50: '#c56a86',
    500: '#a51f58',
    950: '#000000',
  },
}
SCSS
$custom: #a51f58;
$custom-light: #c56a86;
$custom-dark: #000000;
JSON
{
  "hex": "#a51f58",
  "rgb": {
    "r": 165,
    "g": 31,
    "b": 88
  },
  "hsl": {
    "h": 334.478,
    "s": 68.367,
    "l": 38.431
  },
  "oklch": {
    "l": 0.48192,
    "c": 0.17295,
    "h": 1.2
  },
  "luminance": 0.09684
}

Semantic roles & 50–950 ramp

primary
#A51F58
secondary
#5BC598
accent
#EBA13D
background
#FCF6F8
surface
#F9ECEF
border
#D2C7CA
text
#14070B
muted
#827A7C

Preview Lab

Preview with #A51F58

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

Preview Lab → · Contrast checker → · Palette generator →

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