#5A1136#5A1136

#5A1136 is a dark, moderate pink. Relative luminance 0.028; OKLCH L 32.0% C 0.110 H 354.5°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#5A1136
RGBrgb(90, 17, 54)
HSLhsl(330, 68%, 21%)
HSVhsv(330, 81%, 35%)
CMYKcmyk(0%, 81.1%, 40%, 64.7%)
CIE-LABlab(19.40, 35.80, -4.16)
CIE-LCHlch(19.40, 36.04, 353.38°)
OKLaboklab(31.97% 0.1099 -0.0105)
OKLCHoklch(31.97% 0.11 354.5)
XYZxyz(5.0831, 2.8415, 3.7701)
Luminance0.0284 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A1136 #115A35
analogous
#59115A #5A1136 #5A1111
triadic
#5A1136 #365A11 #11365A
tetradic
#5A1136 #5A5911 #115A35 #11115A
square
#5A1136 #5A5911 #115A35 #11115A
split-complementary
#5A1136 #115A11 #115A59
monochromatic
#1A050F #270717 #5A1136 #8D1B55 #C12474

Accessibility & contrast

On white

13.39
#5A1136 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#5A1136 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5A1136
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A1136#FFFFFF#000000##FFFFFF
##5A11361.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a1136;
/* rgb */ color: rgb(90, 17, 54);
/* oklch */ color: oklch(32.0% 0.110 354.5);
Tailwind
colors: {
  custom: {
    50: '#8c576c',
    500: '#5a1136',
    950: '#000000',
  },
}
SCSS
$custom: #5a1136;
$custom-light: #8c576c;
$custom-dark: #000000;
JSON
{
  "hex": "#5a1136",
  "rgb": {
    "r": 90,
    "g": 17,
    "b": 54
  },
  "hsl": {
    "h": 329.589,
    "s": 68.224,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31972,
    "c": 0.11042,
    "h": 354.5
  },
  "luminance": 0.02841
}

Semantic roles & 50–950 ramp

primary
#5A1136
secondary
#349363
accent
#EB933D
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0D0307
muted
#7D787A

Preview Lab

Preview with #5A1136

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

Preview Lab → · Contrast checker → · Palette generator →

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