#5D1136#5D1136

#5D1136 is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.5% C 0.113 H 356.0°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#5D1136
RGBrgb(93, 17, 54)
HSLhsl(331, 69%, 22%)
HSVhsv(331, 82%, 36%)
CMYKcmyk(0%, 81.7%, 41.9%, 63.5%)
CIE-LABlab(20.02, 36.71, -3.16)
CIE-LCHlch(20.02, 36.85, 355.09°)
OKLaboklab(32.55% 0.1128 -0.0078)
OKLCHoklch(32.55% 0.113 356)
XYZxyz(5.3809, 2.9951, 3.7841)
Luminance0.0299 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1136 #115D38
analogous
#5D115C #5D1136 #5D1211
triadic
#5D1136 #365D11 #11365D
tetradic
#5D1136 #5C5D11 #115D38 #12115D
square
#5D1136 #5C5D11 #115D38 #12115D
split-complementary
#5D1136 #115D12 #115C5D
monochromatic
#1A050F #290818 #5D1136 #911A54 #C42472

Accessibility & contrast

On white

13.13
#5D1136 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D1136
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1136#FFFFFF#000000##FFFFFF
##5D11361.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212737
Deuteranopia (green-blind)
#363534
Tritanopia (blue-blind)
#650722
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5d1136;
/* rgb */ color: rgb(93, 17, 54);
/* oklch */ color: oklch(32.5% 0.113 356.0);
Tailwind
colors: {
  custom: {
    50: '#8f586c',
    500: '#5d1136',
    950: '#000000',
  },
}
SCSS
$custom: #5d1136;
$custom-light: #8f586c;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1136",
  "rgb": {
    "r": 93,
    "g": 17,
    "b": 54
  },
  "hsl": {
    "h": 330.789,
    "s": 69.091,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32545,
    "c": 0.11308,
    "h": 356
  },
  "luminance": 0.02994
}

Semantic roles & 50–950 ramp

primary
#5D1136
secondary
#349666
accent
#EC963C
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0407
muted
#7E797A

Preview Lab

Preview with #5D1136

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

Preview Lab → · Contrast checker → · Palette generator →

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