#5D1337#5D1337

#5D1337 is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.8% C 0.111 H 355.6°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#5D1337
RGBrgb(93, 19, 55)
HSLhsl(331, 66%, 22%)
HSVhsv(331, 80%, 36%)
CMYKcmyk(0%, 79.6%, 40.9%, 63.5%)
CIE-LABlab(20.32, 36.10, -3.42)
CIE-LCHlch(20.32, 36.26, 354.59°)
OKLaboklab(32.77% 0.1108 -0.0085)
OKLCHoklch(32.77% 0.111 355.6)
XYZxyz(5.4370, 3.0694, 3.9198)
Luminance0.0307 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1337 #135D39
analogous
#5D135C #5D1337 #5D1413
triadic
#5D1337 #375D13 #13375D
tetradic
#5D1337 #5C5D13 #135D39 #14135D
square
#5D1337 #5C5D13 #135D39 #14135D
split-complementary
#5D1337 #135D14 #135C5D
monochromatic
#19050F #2A0919 #5D1337 #901D55 #C32873

Accessibility & contrast

On white

13.01
#5D1337 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#5D1337 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1337
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1337#FFFFFF#000000##FFFFFF
##5D13371.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222838
Deuteranopia (green-blind)
#363635
Tritanopia (blue-blind)
#650A23
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5d1337;
/* rgb */ color: rgb(93, 19, 55);
/* oklch */ color: oklch(32.8% 0.111 355.6);
Tailwind
colors: {
  custom: {
    50: '#8f596d',
    500: '#5d1337',
    950: '#000000',
  },
}
SCSS
$custom: #5d1337;
$custom-light: #8f596d;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1337",
  "rgb": {
    "r": 93,
    "g": 19,
    "b": 55
  },
  "hsl": {
    "h": 330.811,
    "s": 66.071,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32774,
    "c": 0.11116,
    "h": 355.6
  },
  "luminance": 0.03069
}

Semantic roles & 50–950 ramp

primary
#5D1337
secondary
#379567
accent
#E9963F
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0407
muted
#7E797A

Preview Lab

Preview with #5D1337

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

Preview Lab → · Contrast checker → · Palette generator →

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