#A51840#A51840

#A51840 is a mid, vivid pink. Relative luminance 0.090; OKLCH L 47.1% C 0.173 H 12.2°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#A51840
RGBrgb(165, 24, 64)
HSLhsl(343, 75%, 37%)
HSVhsv(343, 85%, 65%)
CMYKcmyk(0%, 85.5%, 61.2%, 35.3%)
CIE-LABlab(36.03, 56.16, 14.86)
CIE-LCHlch(36.03, 58.09, 14.82°)
OKLaboklab(47.08% 0.1695 0.0366)
OKLCHoklch(47.08% 0.173 12.2)
XYZxyz(16.7709, 9.0253, 5.7085)
Luminance0.0902 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A51840 #18A57D
analogous
#A51886 #A51840 #A53718
triadic
#A51840 #40A518 #1840A5
tetradic
#A51840 #86A518 #18A57D #3718A5
square
#A51840 #86A518 #18A57D #3718A5
split-complementary
#A51840 #18A537 #1886A5
monochromatic
#3A0817 #70102B #A51840 #DA2055 #E6527C

Accessibility & contrast

On white

7.49
#A51840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#A51840 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A51840
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A51840#FFFFFF#000000##FFFFFF
##A518401.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434340
Deuteranopia (green-blind)
#675F3C
Tritanopia (blue-blind)
#B5002B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #a51840;
/* rgb */ color: rgb(165, 24, 64);
/* oklch */ color: oklch(47.1% 0.173 12.2);
Tailwind
colors: {
  custom: {
    50: '#c76774',
    500: '#a51840',
    950: '#000000',
  },
}
SCSS
$custom: #a51840;
$custom-light: #c76774;
$custom-dark: #000000;
JSON
{
  "hex": "#a51840",
  "rgb": {
    "r": 165,
    "g": 24,
    "b": 64
  },
  "hsl": {
    "h": 342.979,
    "s": 74.603,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47077,
    "c": 0.17342,
    "h": 12.2
  },
  "luminance": 0.09023
}

Semantic roles & 50–950 ramp

primary
#A51840
secondary
#51C8A6
accent
#F1BC37
background
#FDF6F7
surface
#FAEBED
border
#D3C6C8
text
#140708
muted
#837A7B

Preview Lab

Preview with #A51840

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

Preview Lab → · Contrast checker → · Palette generator →

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