#5E1342#5E1342

#5E1342 is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.4% C 0.118 H 347.0°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#5E1342
RGBrgb(94, 19, 66)
HSLhsl(322, 66%, 22%)
HSVhsv(322, 80%, 37%)
CMYKcmyk(0%, 79.8%, 29.8%, 63.1%)
CIE-LABlab(20.98, 37.83, -10.05)
CIE-LCHlch(20.98, 39.14, 345.13°)
OKLaboklab(33.44% 0.1151 -0.0265)
OKLCHoklch(33.44% 0.118 347)
XYZxyz(5.8326, 3.2394, 5.4713)
Luminance0.0324 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1342 #135E2F
analogous
#55135E #5E1342 #5E131D
triadic
#5E1342 #425E13 #13425E
tetradic
#5E1342 #5E5513 #135E2F #131D5E
square
#5E1342 #5E5513 #135E2F #131D5E
split-complementary
#5E1342 #1D5E13 #135E55
monochromatic
#190512 #2B091E #5E1342 #911D66 #C42889

Accessibility & contrast

On white

12.74
#5E1342 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#5E1342 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1342
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1342#FFFFFF#000000##FFFFFF
##5E13421.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2A43
Deuteranopia (green-blind)
#343740
Tritanopia (blue-blind)
#651028
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5e1342;
/* rgb */ color: rgb(94, 19, 66);
/* oklch */ color: oklch(33.4% 0.118 347.0);
Tailwind
colors: {
  custom: {
    50: '#8f5976',
    500: '#5e1342',
    950: '#000000',
  },
}
SCSS
$custom: #5e1342;
$custom-light: #8f5976;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1342",
  "rgb": {
    "r": 94,
    "g": 19,
    "b": 66
  },
  "hsl": {
    "h": 322.4,
    "s": 66.372,
    "l": 22.157
  },
  "oklch": {
    "l": 0.33442,
    "c": 0.11808,
    "h": 347
  },
  "luminance": 0.03239
}

Semantic roles & 50–950 ramp

primary
#5E1342
secondary
#37965A
accent
#E97E3F
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5E1342

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

Preview Lab → · Contrast checker → · Palette generator →

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