#5A1036#5A1036

#5A1036 is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.9% C 0.112 H 354.3°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#5A1036
RGBrgb(90, 16, 54)
HSLhsl(329, 70%, 21%)
HSVhsv(329, 82%, 35%)
CMYKcmyk(0%, 82.2%, 40%, 64.7%)
CIE-LABlab(19.27, 36.16, -4.35)
CIE-LCHlch(19.27, 36.42, 353.15°)
OKLaboklab(31.88% 0.1111 -0.011)
OKLCHoklch(31.88% 0.112 354.3)
XYZxyz(5.0679, 2.8112, 3.7651)
Luminance0.0281 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1036 #105A34
analogous
#59105A #5A1036 #5A1011
triadic
#5A1036 #365A10 #10365A
tetradic
#5A1036 #5A5910 #105A34 #10115A
square
#5A1036 #5A5910 #105A34 #10115A
split-complementary
#5A1036 #115A10 #105A59
monochromatic
#1A0510 #260717 #5A1036 #8E1955 #C22274

Accessibility & contrast

On white

13.44
#5A1036 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#5A1036 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A1036
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1036#FFFFFF#000000##FFFFFF
##5A10361.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2637
Deuteranopia (green-blind)
#333434
Tritanopia (blue-blind)
#620721
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5a1036;
/* rgb */ color: rgb(90, 16, 54);
/* oklch */ color: oklch(31.9% 0.112 354.3);
Tailwind
colors: {
  custom: {
    50: '#8c576c',
    500: '#5a1036',
    950: '#000000',
  },
}
SCSS
$custom: #5a1036;
$custom-light: #8c576c;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1036",
  "rgb": {
    "r": 90,
    "g": 16,
    "b": 54
  },
  "hsl": {
    "h": 329.189,
    "s": 69.811,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31879,
    "c": 0.1116,
    "h": 354.3
  },
  "luminance": 0.02811
}

Semantic roles & 50–950 ramp

primary
#5A1036
secondary
#339362
accent
#ED923B
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0D0307
muted
#7D787A

Preview Lab

Preview with #5A1036

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

Preview Lab → · Contrast checker → · Palette generator →

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