#5E1940#5E1940

#5E1940 is a dark, moderate pink. Relative luminance 0.034; OKLCH L 34.0% C 0.109 H 349.6°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#5E1940
RGBrgb(94, 25, 64)
HSLhsl(326, 58%, 23%)
HSVhsv(326, 73%, 37%)
CMYKcmyk(0%, 73.4%, 31.9%, 63.1%)
CIE-LABlab(21.75, 35.15, -7.50)
CIE-LCHlch(21.75, 35.94, 347.95°)
OKLaboklab(33.98% 0.1071 -0.0196)
OKLCHoklch(33.98% 0.109 349.6)
XYZxyz(5.8894, 3.4458, 5.2044)
Luminance0.0345 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1940 #195E37
analogous
#59195E #5E1940 #5E191D
triadic
#5E1940 #405E19 #19405E
tetradic
#5E1940 #5E5919 #195E37 #191D5E
square
#5E1940 #5E5919 #195E37 #191D5E
split-complementary
#5E1940 #1D5E19 #195E59
monochromatic
#180610 #2E0C1F #5E1940 #8E2661 #BF3382

Accessibility & contrast

On white

12.43
#5E1940 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#5E1940 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1940
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1940#FFFFFF#000000##FFFFFF
##5E19401.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232C41
Deuteranopia (green-blind)
#37393E
Tritanopia (blue-blind)
#65162A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5e1940;
/* rgb */ color: rgb(94, 25, 64);
/* oklch */ color: oklch(34.0% 0.109 349.6);
Tailwind
colors: {
  custom: {
    50: '#8f5c74',
    500: '#5e1940',
    950: '#000000',
  },
}
SCSS
$custom: #5e1940;
$custom-light: #8f5c74;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1940",
  "rgb": {
    "r": 94,
    "g": 25,
    "b": 64
  },
  "hsl": {
    "h": 326.087,
    "s": 57.983,
    "l": 23.333
  },
  "oklch": {
    "l": 0.33976,
    "c": 0.10883,
    "h": 349.6
  },
  "luminance": 0.03445
}

Semantic roles & 50–950 ramp

primary
#5E1940
secondary
#3F9464
accent
#E18A47
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5E1940

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

Preview Lab → · Contrast checker → · Palette generator →

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