#5E1340#5E1340

#5E1340 is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.3% C 0.117 H 348.6°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#5E1340
RGBrgb(94, 19, 64)
HSLhsl(324, 66%, 22%)
HSVhsv(324, 80%, 37%)
CMYKcmyk(0%, 79.8%, 31.9%, 63.1%)
CIE-LABlab(20.89, 37.55, -8.80)
CIE-LCHlch(20.89, 38.57, 346.81°)
OKLaboklab(33.35% 0.1146 -0.0231)
OKLCHoklch(33.35% 0.117 348.6)
XYZxyz(5.7747, 3.2163, 5.1662)
Luminance0.0322 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1340 #135E31
analogous
#57135E #5E1340 #5E131B
triadic
#5E1340 #405E13 #13405E
tetradic
#5E1340 #5E5713 #135E31 #131B5E
square
#5E1340 #5E5713 #135E31 #131B5E
split-complementary
#5E1340 #1B5E13 #135E57
monochromatic
#190511 #2B091D #5E1340 #911D63 #C42885

Accessibility & contrast

On white

12.78
#5E1340 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#5E1340 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1340
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1340#FFFFFF#000000##FFFFFF
##5E13401.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2A41
Deuteranopia (green-blind)
#35373E
Tritanopia (blue-blind)
#650F27
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5e1340;
/* rgb */ color: rgb(94, 19, 64);
/* oklch */ color: oklch(33.3% 0.117 348.6);
Tailwind
colors: {
  custom: {
    50: '#8f5974',
    500: '#5e1340',
    950: '#000000',
  },
}
SCSS
$custom: #5e1340;
$custom-light: #8f5974;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1340",
  "rgb": {
    "r": 94,
    "g": 19,
    "b": 64
  },
  "hsl": {
    "h": 324,
    "s": 66.372,
    "l": 22.157
  },
  "oklch": {
    "l": 0.33349,
    "c": 0.11686,
    "h": 348.6
  },
  "luminance": 0.03216
}

Semantic roles & 50–950 ramp

primary
#5E1340
secondary
#37965D
accent
#E9833F
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5E1340

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

Preview Lab → · Contrast checker → · Palette generator →

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