#5E1337#5E1337

#5E1337 is a dark, moderate pink. Relative luminance 0.031; OKLCH L 33.0% C 0.112 H 356.1°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#5E1337
RGBrgb(94, 19, 55)
HSLhsl(331, 66%, 22%)
HSVhsv(331, 80%, 37%)
CMYKcmyk(0%, 79.8%, 41.5%, 63.1%)
CIE-LABlab(20.53, 36.41, -3.09)
CIE-LCHlch(20.53, 36.54, 355.15°)
OKLaboklab(32.96% 0.1118 -0.0077)
OKLCHoklch(32.96% 0.112 356.1)
XYZxyz(5.5389, 3.1220, 3.9246)
Luminance0.0312 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1337 #135E3A
analogous
#5E135D #5E1337 #5E1413
triadic
#5E1337 #375E13 #13375E
tetradic
#5E1337 #5D5E13 #135E3A #14135E
square
#5E1337 #5D5E13 #135E3A #14135E
split-complementary
#5E1337 #135E14 #135D5E
monochromatic
#19050F #2B0919 #5E1337 #911D55 #C42873

Accessibility & contrast

On white

12.93
#5E1337 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#5E1337 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1337
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1337#FFFFFF#000000##FFFFFF
##5E13371.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222938
Deuteranopia (green-blind)
#373635
Tritanopia (blue-blind)
#660A23
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5e1337;
/* rgb */ color: rgb(94, 19, 55);
/* oklch */ color: oklch(33.0% 0.112 356.1);
Tailwind
colors: {
  custom: {
    50: '#8f596d',
    500: '#5e1337',
    950: '#000000',
  },
}
SCSS
$custom: #5e1337;
$custom-light: #8f596d;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1337",
  "rgb": {
    "r": 94,
    "g": 19,
    "b": 55
  },
  "hsl": {
    "h": 331.2,
    "s": 66.372,
    "l": 22.157
  },
  "oklch": {
    "l": 0.32963,
    "c": 0.11207,
    "h": 356.1
  },
  "luminance": 0.03121
}

Semantic roles & 50–950 ramp

primary
#5E1337
secondary
#379668
accent
#E9973F
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0407
muted
#7E797A

Preview Lab

Preview with #5E1337

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

Preview Lab → · Contrast checker → · Palette generator →

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