#A51F41#A51F41

#A51F41 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.6% C 0.168 H 12.8°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#A51F41
RGBrgb(165, 31, 65)
HSLhsl(345, 68%, 38%)
HSVhsv(345, 81%, 65%)
CMYKcmyk(0%, 81.2%, 60.6%, 35.3%)
CIE-LABlab(36.67, 54.46, 15.08)
CIE-LCHlch(36.67, 56.51, 15.47°)
OKLaboklab(47.56% 0.1642 0.0372)
OKLCHoklch(47.56% 0.168 12.8)
XYZxyz(16.9629, 9.3635, 5.9141)
Luminance0.0936 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A51F41 #1FA583
analogous
#A51F84 #A51F41 #A5401F
triadic
#A51F41 #41A51F #1F41A5
tetradic
#A51F41 #84A51F #1FA583 #401FA5
square
#A51F41 #84A51F #1FA583 #401FA5
split-complementary
#A51F41 #1FA540 #1F84A5
monochromatic
#3E0C18 #71152D #A51F41 #D72A56 #E15E7F

Accessibility & contrast

On white

7.31
#A51F41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#A51F41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A51F41
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A51F41#FFFFFF#000000##FFFFFF
##A51F411.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464541
Deuteranopia (green-blind)
#68603D
Tritanopia (blue-blind)
#B5002E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a51f41;
/* rgb */ color: rgb(165, 31, 65);
/* oklch */ color: oklch(47.6% 0.168 12.8);
Tailwind
colors: {
  custom: {
    50: '#c76975',
    500: '#a51f41',
    950: '#000000',
  },
}
SCSS
$custom: #a51f41;
$custom-light: #c76975;
$custom-dark: #000000;
JSON
{
  "hex": "#a51f41",
  "rgb": {
    "r": 165,
    "g": 31,
    "b": 65
  },
  "hsl": {
    "h": 344.776,
    "s": 68.367,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47557,
    "c": 0.16835,
    "h": 12.8
  },
  "luminance": 0.09361
}

Semantic roles & 50–950 ramp

primary
#A51F41
secondary
#5BC5AA
accent
#EBBF3D
background
#FDF6F7
surface
#FAECED
border
#D3C7C8
text
#140708
muted
#837A7B

Preview Lab

Preview with #A51F41

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

Preview Lab → · Contrast checker → · Palette generator →

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