#5A143D#5A143D

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

Color values

HEX#5A143D
RGBrgb(90, 20, 61)
HSLhsl(325, 64%, 22%)
HSVhsv(325, 78%, 35%)
CMYKcmyk(0%, 77.8%, 32.2%, 64.7%)
CIE-LABlab(20.09, 35.57, -8.01)
CIE-LCHlch(20.09, 36.46, 347.31°)
OKLaboklab(32.57% 0.1085 -0.021)
OKLCHoklch(32.57% 0.11 349)
XYZxyz(5.3092, 3.0115, 4.7157)
Luminance0.0301 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A143D #145A31
analogous
#54145A #5A143D #5A141A
triadic
#5A143D #3D5A14 #143D5A
tetradic
#5A143D #5A5414 #145A31 #141A5A
square
#5A143D #5A5414 #145A31 #141A5A
split-complementary
#5A143D #1A5A14 #145A54
monochromatic
#190611 #28091B #5A143D #8C1F5F #BE2A81

Accessibility & contrast

On white

13.11
#5A143D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5A143D
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A143D#FFFFFF#000000##FFFFFF
##5A143D1.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a143d;
/* rgb */ color: rgb(90, 20, 61);
/* oklch */ color: oklch(32.6% 0.110 349.0);
Tailwind
colors: {
  custom: {
    50: '#8c5972',
    500: '#5a143d',
    950: '#000000',
  },
}
SCSS
$custom: #5a143d;
$custom-light: #8c5972;
$custom-dark: #000000;
JSON
{
  "hex": "#5a143d",
  "rgb": {
    "r": 90,
    "g": 20,
    "b": 61
  },
  "hsl": {
    "h": 324.857,
    "s": 63.636,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32572,
    "c": 0.11046,
    "h": 349
  },
  "luminance": 0.03011
}

Semantic roles & 50–950 ramp

primary
#5A143D
secondary
#38925D
accent
#E78641
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0C0408
muted
#7D797B

Preview Lab

Preview with #5A143D

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

Preview Lab → · Contrast checker → · Palette generator →

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