#5E1841#5E1841

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

Color values

HEX#5E1841
RGBrgb(94, 24, 65)
HSLhsl(325, 59%, 23%)
HSVhsv(325, 74%, 37%)
CMYKcmyk(0%, 74.5%, 30.9%, 63.1%)
CIE-LABlab(21.64, 35.72, -8.36)
CIE-LCHlch(21.64, 36.68, 346.83°)
OKLaboklab(33.91% 0.1087 -0.0219)
OKLCHoklch(33.91% 0.111 348.6)
XYZxyz(5.8971, 3.4152, 5.3486)
Luminance0.0341 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1841 #185E35
analogous
#58185E #5E1841 #5E181E
triadic
#5E1841 #415E18 #18415E
tetradic
#5E1841 #5E5818 #185E35 #181E5E
square
#5E1841 #5E5818 #185E35 #181E5E
split-complementary
#5E1841 #1E5E18 #185E58
monochromatic
#180611 #2D0C1F #5E1841 #8F2463 #C03184

Accessibility & contrast

On white

12.48
#5E1841 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E1841
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1841#FFFFFF#000000##FFFFFF
##5E18411.0012.481.6812.48
#FFFFFF12.481.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222C42
Deuteranopia (green-blind)
#36383F
Tritanopia (blue-blind)
#65152A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5e1841;
/* rgb */ color: rgb(94, 24, 65);
/* oklch */ color: oklch(33.9% 0.111 348.6);
Tailwind
colors: {
  custom: {
    50: '#8f5b75',
    500: '#5e1841',
    950: '#000000',
  },
}
SCSS
$custom: #5e1841;
$custom-light: #8f5b75;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1841",
  "rgb": {
    "r": 94,
    "g": 24,
    "b": 65
  },
  "hsl": {
    "h": 324.857,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.33908,
    "c": 0.11086,
    "h": 348.6
  },
  "luminance": 0.03415
}

Semantic roles & 50–950 ramp

primary
#5E1841
secondary
#3D9461
accent
#E38645
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5E1841

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

Preview Lab → · Contrast checker → · Palette generator →

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