#5A143A#5A143A

#5A143A is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.4% C 0.109 H 351.6°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#5A143A
RGBrgb(90, 20, 58)
HSLhsl(327, 64%, 22%)
HSVhsv(327, 78%, 35%)
CMYKcmyk(0%, 77.8%, 35.6%, 64.7%)
CIE-LABlab(19.96, 35.17, -6.11)
CIE-LCHlch(19.96, 35.69, 350.14°)
OKLaboklab(32.44% 0.1076 -0.0158)
OKLCHoklch(32.44% 0.109 351.6)
XYZxyz(5.2306, 2.9801, 4.3019)
Luminance0.0298 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A143A #145A34
analogous
#57145A #5A143A #5A1417
triadic
#5A143A #3A5A14 #143A5A
tetradic
#5A143A #5A5714 #145A34 #14175A
square
#5A143A #5A5714 #145A34 #14175A
split-complementary
#5A143A #175A14 #145A57
monochromatic
#190610 #28091A #5A143A #8C1F5A #BE2A7B

Accessibility & contrast

On white

13.16
#5A143A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#5A143A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A143A
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A143A#FFFFFF#000000##FFFFFF
##5A143A1.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20283B
Deuteranopia (green-blind)
#343538
Tritanopia (blue-blind)
#610F25
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5a143a;
/* rgb */ color: rgb(90, 20, 58);
/* oklch */ color: oklch(32.4% 0.109 351.6);
Tailwind
colors: {
  custom: {
    50: '#8c5970',
    500: '#5a143a',
    950: '#000000',
  },
}
SCSS
$custom: #5a143a;
$custom-light: #8c5970;
$custom-dark: #000000;
JSON
{
  "hex": "#5a143a",
  "rgb": {
    "r": 90,
    "g": 20,
    "b": 58
  },
  "hsl": {
    "h": 327.429,
    "s": 63.636,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32439,
    "c": 0.10874,
    "h": 351.6
  },
  "luminance": 0.02979
}

Semantic roles & 50–950 ramp

primary
#5A143A
secondary
#389261
accent
#E78D41
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0C0407
muted
#7D797A

Preview Lab

Preview with #5A143A

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

Preview Lab → · Contrast checker → · Palette generator →

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