#A51C3F#A51C3F

#A51C3F is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.3% C 0.171 H 13.2°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#A51C3F
RGBrgb(165, 28, 63)
HSLhsl(345, 71%, 38%)
HSVhsv(345, 83%, 65%)
CMYKcmyk(0%, 83%, 61.8%, 35.3%)
CIE-LABlab(36.35, 55.13, 15.93)
CIE-LCHlch(36.35, 57.39, 16.11°)
OKLaboklab(47.3% 0.166 0.039)
OKLCHoklch(47.3% 0.171 13.2)
XYZxyz(16.8313, 9.1913, 5.5895)
Luminance0.0919 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A51C3F #1CA582
analogous
#A51C83 #A51C3F #A53E1C
triadic
#A51C3F #3FA51C #1C3FA5
tetradic
#A51C3F #83A51C #1CA582 #3E1CA5
square
#A51C3F #83A51C #1CA582 #3E1CA5
split-complementary
#A51C3F #1CA53E #1C83A5
monochromatic
#3C0A17 #71132B #A51C3F #D92553 #E3597C

Accessibility & contrast

On white

7.40
#A51C3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#A51C3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A51C3F
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A51C3F#FFFFFF#000000##FFFFFF
##A51C3F1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45443F
Deuteranopia (green-blind)
#675F3B
Tritanopia (blue-blind)
#B5002C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #a51c3f;
/* rgb */ color: rgb(165, 28, 63);
/* oklch */ color: oklch(47.3% 0.171 13.2);
Tailwind
colors: {
  custom: {
    50: '#c76873',
    500: '#a51c3f',
    950: '#000000',
  },
}
SCSS
$custom: #a51c3f;
$custom-light: #c76873;
$custom-dark: #000000;
JSON
{
  "hex": "#a51c3f",
  "rgb": {
    "r": 165,
    "g": 28,
    "b": 63
  },
  "hsl": {
    "h": 344.672,
    "s": 70.984,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47304,
    "c": 0.17051,
    "h": 13.2
  },
  "luminance": 0.09189
}

Semantic roles & 50–950 ramp

primary
#A51C3F
secondary
#56C6AA
accent
#EEC03A
background
#FDF6F6
surface
#FAECEC
border
#D3C7C7
text
#140708
muted
#837A7B

Preview Lab

Preview with #A51C3F

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

Preview Lab → · Contrast checker → · Palette generator →

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