#A51940#A51940

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

Color values

HEX#A51940
RGBrgb(165, 25, 64)
HSLhsl(343, 74%, 37%)
HSVhsv(343, 85%, 65%)
CMYKcmyk(0%, 84.8%, 61.2%, 35.3%)
CIE-LABlab(36.11, 55.93, 14.97)
CIE-LCHlch(36.11, 57.90, 14.98°)
OKLaboklab(47.14% 0.1688 0.0368)
OKLCHoklch(47.14% 0.173 12.3)
XYZxyz(16.7919, 9.0673, 5.7155)
Luminance0.0906 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A51940 #19A57E
analogous
#A51986 #A51940 #A53819
triadic
#A51940 #40A519 #1940A5
tetradic
#A51940 #86A519 #19A57E #3819A5
square
#A51940 #86A519 #19A57E #3819A5
split-complementary
#A51940 #19A538 #1986A5
monochromatic
#3B0917 #70112B #A51940 #DA2155 #E5537C

Accessibility & contrast

On white

7.47
#A51940 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#A51940 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A51940
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A51940#FFFFFF#000000##FFFFFF
##A519401.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a51940;
/* rgb */ color: rgb(165, 25, 64);
/* oklch */ color: oklch(47.1% 0.173 12.3);
Tailwind
colors: {
  custom: {
    50: '#c76774',
    500: '#a51940',
    950: '#000000',
  },
}
SCSS
$custom: #a51940;
$custom-light: #c76774;
$custom-dark: #000000;
JSON
{
  "hex": "#a51940",
  "rgb": {
    "r": 165,
    "g": 25,
    "b": 64
  },
  "hsl": {
    "h": 343.286,
    "s": 73.684,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47137,
    "c": 0.17274,
    "h": 12.3
  },
  "luminance": 0.09065
}

Semantic roles & 50–950 ramp

primary
#A51940
secondary
#52C8A7
accent
#F0BD37
background
#FDF6F7
surface
#FAEBED
border
#D3C6C8
text
#140708
muted
#837A7B

Preview Lab

Preview with #A51940

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

Preview Lab → · Contrast checker → · Palette generator →

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