#5E1338#5E1338

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

Color values

HEX#5E1338
RGBrgb(94, 19, 56)
HSLhsl(330, 66%, 22%)
HSVhsv(330, 80%, 37%)
CMYKcmyk(0%, 79.8%, 40.4%, 63.1%)
CIE-LABlab(20.56, 36.53, -3.73)
CIE-LCHlch(20.56, 36.72, 354.17°)
OKLaboklab(33% 0.1121 -0.0094)
OKLCHoklch(33% 0.113 355.2)
XYZxyz(5.5631, 3.1316, 4.0521)
Luminance0.0313 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1338 #135E39
analogous
#5E135E #5E1338 #5E1313
triadic
#5E1338 #385E13 #13385E
tetradic
#5E1338 #5E5E13 #135E39 #13135E
square
#5E1338 #5E5E13 #135E39 #13135E
split-complementary
#5E1338 #135E13 #135E5E
monochromatic
#19050F #2B091A #5E1338 #911D56 #C42875

Accessibility & contrast

On white

12.91
#5E1338 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#5E1338 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1338
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1338#FFFFFF#000000##FFFFFF
##5E13381.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222939
Deuteranopia (green-blind)
#373736
Tritanopia (blue-blind)
#660A23
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5e1338;
/* rgb */ color: rgb(94, 19, 56);
/* oklch */ color: oklch(33.0% 0.113 355.2);
Tailwind
colors: {
  custom: {
    50: '#8f596e',
    500: '#5e1338',
    950: '#000000',
  },
}
SCSS
$custom: #5e1338;
$custom-light: #8f596e;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1338",
  "rgb": {
    "r": 94,
    "g": 19,
    "b": 56
  },
  "hsl": {
    "h": 330.4,
    "s": 66.372,
    "l": 22.157
  },
  "oklch": {
    "l": 0.33003,
    "c": 0.11253,
    "h": 355.2
  },
  "luminance": 0.03131
}

Semantic roles & 50–950 ramp

primary
#5E1338
secondary
#379667
accent
#E9953F
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0407
muted
#7E797A

Preview Lab

Preview with #5E1338

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

Preview Lab → · Contrast checker → · Palette generator →

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