#5A1345#5A1345

#5A1345 is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.9% C 0.117 H 342.4°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#5A1345
RGBrgb(90, 19, 69)
HSLhsl(318, 65%, 21%)
HSVhsv(318, 79%, 35%)
CMYKcmyk(0%, 78.9%, 23.3%, 64.7%)
CIE-LABlab(20.32, 37.12, -13.19)
CIE-LCHlch(20.32, 39.39, 340.44°)
OKLaboklab(32.86% 0.1116 -0.0354)
OKLCHoklch(32.86% 0.117 342.4)
XYZxyz(5.5237, 3.0696, 5.9307)
Luminance0.0307 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1345 #135A28
analogous
#4C135A #5A1345 #5A1322
triadic
#5A1345 #455A13 #13455A
tetradic
#5A1345 #5A4C13 #135A28 #13225A
square
#5A1345 #5A4C13 #135A28 #13225A
split-complementary
#5A1345 #225A13 #135A4C
monochromatic
#190513 #27081E #5A1345 #8D1E6C #BF2892

Accessibility & contrast

On white

13.01
#5A1345 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#5A1345 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A1345
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1345#FFFFFF#000000##FFFFFF
##5A13451.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2A46
Deuteranopia (green-blind)
#303543
Tritanopia (blue-blind)
#60142A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5a1345;
/* rgb */ color: rgb(90, 19, 69);
/* oklch */ color: oklch(32.9% 0.117 342.4);
Tailwind
colors: {
  custom: {
    50: '#8c5978',
    500: '#5a1345',
    950: '#000000',
  },
}
SCSS
$custom: #5a1345;
$custom-light: #8c5978;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1345",
  "rgb": {
    "r": 90,
    "g": 19,
    "b": 69
  },
  "hsl": {
    "h": 317.746,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32861,
    "c": 0.11703,
    "h": 342.4
  },
  "luminance": 0.03069
}

Semantic roles & 50–950 ramp

primary
#5A1345
secondary
#379252
accent
#E87240
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0409
muted
#7D797B

Preview Lab

Preview with #5A1345

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

Preview Lab → · Contrast checker → · Palette generator →

#5A1345 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva