#5A1437#5A1437

#5A1437 is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.3% C 0.107 H 354.3°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#5A1437
RGBrgb(90, 20, 55)
HSLhsl(330, 64%, 22%)
HSVhsv(330, 78%, 35%)
CMYKcmyk(0%, 77.8%, 38.9%, 64.7%)
CIE-LABlab(19.84, 34.78, -4.19)
CIE-LCHlch(19.84, 35.03, 353.13°)
OKLaboklab(32.31% 0.1066 -0.0106)
OKLCHoklch(32.31% 0.107 354.3)
XYZxyz(5.1565, 2.9504, 3.9116)
Luminance0.0295 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1437 #145A37
analogous
#5A145A #5A1437 #5A1414
triadic
#5A1437 #375A14 #14375A
tetradic
#5A1437 #5A5A14 #145A37 #14145A
square
#5A1437 #5A5A14 #145A37 #14145A
split-complementary
#5A1437 #145A14 #145A5A
monochromatic
#19060F #280918 #5A1437 #8C1F56 #BE2A74

Accessibility & contrast

On white

13.21
#5A1437 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#5A1437 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A1437
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1437#FFFFFF#000000##FFFFFF
##5A14371.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212838
Deuteranopia (green-blind)
#343535
Tritanopia (blue-blind)
#620D23
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5a1437;
/* rgb */ color: rgb(90, 20, 55);
/* oklch */ color: oklch(32.3% 0.107 354.3);
Tailwind
colors: {
  custom: {
    50: '#8c596d',
    500: '#5a1437',
    950: '#000000',
  },
}
SCSS
$custom: #5a1437;
$custom-light: #8c596d;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1437",
  "rgb": {
    "r": 90,
    "g": 20,
    "b": 55
  },
  "hsl": {
    "h": 330,
    "s": 63.636,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32312,
    "c": 0.10715,
    "h": 354.3
  },
  "luminance": 0.0295
}

Semantic roles & 50–950 ramp

primary
#5A1437
secondary
#389265
accent
#E79441
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0407
muted
#7D797A

Preview Lab

Preview with #5A1437

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

Preview Lab → · Contrast checker → · Palette generator →

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