#5E1840#5E1840

#5E1840 is a dark, moderate pink. Relative luminance 0.034; OKLCH L 33.9% C 0.110 H 349.4°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#5E1840
RGBrgb(94, 24, 64)
HSLhsl(326, 59%, 23%)
HSVhsv(326, 74%, 37%)
CMYKcmyk(0%, 74.5%, 31.9%, 63.1%)
CIE-LABlab(21.59, 35.58, -7.73)
CIE-LCHlch(21.59, 36.41, 347.74°)
OKLaboklab(33.86% 0.1084 -0.0202)
OKLCHoklch(33.86% 0.11 349.4)
XYZxyz(5.8684, 3.4038, 5.1974)
Luminance0.0340 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1840 #185E36
analogous
#59185E #5E1840 #5E181D
triadic
#5E1840 #405E18 #18405E
tetradic
#5E1840 #5E5918 #185E36 #181D5E
square
#5E1840 #5E5918 #185E36 #181D5E
split-complementary
#5E1840 #1D5E18 #185E59
monochromatic
#180611 #2D0C1F #5E1840 #8F2461 #C03182

Accessibility & contrast

On white

12.50
#5E1840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#5E1840 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E1840
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1840#FFFFFF#000000##FFFFFF
##5E18401.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222C41
Deuteranopia (green-blind)
#36383E
Tritanopia (blue-blind)
#651529
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5e1840;
/* rgb */ color: rgb(94, 24, 64);
/* oklch */ color: oklch(33.9% 0.110 349.4);
Tailwind
colors: {
  custom: {
    50: '#8f5b74',
    500: '#5e1840',
    950: '#000000',
  },
}
SCSS
$custom: #5e1840;
$custom-light: #8f5b74;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1840",
  "rgb": {
    "r": 94,
    "g": 24,
    "b": 64
  },
  "hsl": {
    "h": 325.714,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.33863,
    "c": 0.11025,
    "h": 349.4
  },
  "luminance": 0.03403
}

Semantic roles & 50–950 ramp

primary
#5E1840
secondary
#3D9463
accent
#E38945
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5E1840

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

Preview Lab → · Contrast checker → · Palette generator →

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