#5A1336#5A1336

#5A1336 is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.2% C 0.108 H 355.0°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#5A1336
RGBrgb(90, 19, 54)
HSLhsl(330, 65%, 21%)
HSVhsv(330, 79%, 35%)
CMYKcmyk(0%, 78.9%, 40%, 64.7%)
CIE-LABlab(19.67, 35.05, -3.76)
CIE-LCHlch(19.67, 35.25, 353.88°)
OKLaboklab(32.17% 0.1075 -0.0095)
OKLCHoklch(32.17% 0.108 355)
XYZxyz(5.1155, 2.9064, 3.7809)
Luminance0.0291 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1336 #135A37
analogous
#5A135A #5A1336 #5A1413
triadic
#5A1336 #365A13 #13365A
tetradic
#5A1336 #5A5A13 #135A37 #14135A
square
#5A1336 #5A5A13 #135A37 #14135A
split-complementary
#5A1336 #135A14 #135A5A
monochromatic
#19050F #270818 #5A1336 #8D1E54 #BF2873

Accessibility & contrast

On white

13.28
#5A1336 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#5A1336 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A1336
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1336#FFFFFF#000000##FFFFFF
##5A13361.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212737
Deuteranopia (green-blind)
#343434
Tritanopia (blue-blind)
#620B22
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5a1336;
/* rgb */ color: rgb(90, 19, 54);
/* oklch */ color: oklch(32.2% 0.108 355.0);
Tailwind
colors: {
  custom: {
    50: '#8c586c',
    500: '#5a1336',
    950: '#000000',
  },
}
SCSS
$custom: #5a1336;
$custom-light: #8c586c;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1336",
  "rgb": {
    "r": 90,
    "g": 19,
    "b": 54
  },
  "hsl": {
    "h": 330.423,
    "s": 65.138,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32168,
    "c": 0.10795,
    "h": 355
  },
  "luminance": 0.02906
}

Semantic roles & 50–950 ramp

primary
#5A1336
secondary
#379265
accent
#E89540
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0D0407
muted
#7D797A

Preview Lab

Preview with #5A1336

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

Preview Lab → · Contrast checker → · Palette generator →

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