#5A143C#5A143C

#5A143C is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.5% C 0.110 H 349.9°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#5A143C
RGBrgb(90, 20, 60)
HSLhsl(326, 64%, 22%)
HSVhsv(326, 78%, 35%)
CMYKcmyk(0%, 77.8%, 33.3%, 64.7%)
CIE-LABlab(20.05, 35.44, -7.38)
CIE-LCHlch(20.05, 36.20, 348.23°)
OKLaboklab(32.53% 0.1082 -0.0193)
OKLCHoklch(32.53% 0.11 349.9)
XYZxyz(5.2825, 3.0008, 4.5751)
Luminance0.0300 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A143C #145A32
analogous
#55145A #5A143C #5A1419
triadic
#5A143C #3C5A14 #143C5A
tetradic
#5A143C #5A5514 #145A32 #14195A
square
#5A143C #5A5514 #145A32 #14195A
split-complementary
#5A143C #195A14 #145A55
monochromatic
#190611 #28091B #5A143C #8C1F5D #BE2A7F

Accessibility & contrast

On white

13.13
#5A143C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A143C
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A143C#FFFFFF#000000##FFFFFF
##5A143C1.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F283D
Deuteranopia (green-blind)
#33353A
Tritanopia (blue-blind)
#611026
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5a143c;
/* rgb */ color: rgb(90, 20, 60);
/* oklch */ color: oklch(32.5% 0.110 349.9);
Tailwind
colors: {
  custom: {
    50: '#8c5971',
    500: '#5a143c',
    950: '#000000',
  },
}
SCSS
$custom: #5a143c;
$custom-light: #8c5971;
$custom-dark: #000000;
JSON
{
  "hex": "#5a143c",
  "rgb": {
    "r": 90,
    "g": 20,
    "b": 60
  },
  "hsl": {
    "h": 325.714,
    "s": 63.636,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32527,
    "c": 0.10987,
    "h": 349.9
  },
  "luminance": 0.03
}

Semantic roles & 50–950 ramp

primary
#5A143C
secondary
#38925E
accent
#E78841
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0C0407
muted
#7D797A

Preview Lab

Preview with #5A143C

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

Preview Lab → · Contrast checker → · Palette generator →

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