#5E1844#5E1844

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

Color values

HEX#5E1844
RGBrgb(94, 24, 68)
HSLhsl(322, 59%, 23%)
HSVhsv(322, 74%, 37%)
CMYKcmyk(0%, 74.5%, 27.7%, 63.1%)
CIE-LABlab(21.77, 36.15, -10.22)
CIE-LCHlch(21.77, 37.57, 344.22°)
OKLaboklab(34.05% 0.1095 -0.0271)
OKLCHoklch(34.05% 0.113 346.1)
XYZxyz(5.9864, 3.4509, 5.8186)
Luminance0.0345 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1844 #185E32
analogous
#55185E #5E1844 #5E1821
triadic
#5E1844 #445E18 #18445E
tetradic
#5E1844 #5E5518 #185E32 #18215E
square
#5E1844 #5E5518 #185E32 #18215E
split-complementary
#5E1844 #215E18 #185E55
monochromatic
#180612 #2D0C21 #5E1844 #8F2467 #C0318B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E1844#FFFFFF#000000##FFFFFF
##5E18441.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)
#202D45
Deuteranopia (green-blind)
#353942
Tritanopia (blue-blind)
#65162B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5e1844;
/* rgb */ color: rgb(94, 24, 68);
/* oklch */ color: oklch(34.0% 0.113 346.1);
Tailwind
colors: {
  custom: {
    50: '#8f5b78',
    500: '#5e1844',
    950: '#000000',
  },
}
SCSS
$custom: #5e1844;
$custom-light: #8f5b78;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1844",
  "rgb": {
    "r": 94,
    "g": 24,
    "b": 68
  },
  "hsl": {
    "h": 322.286,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.34046,
    "c": 0.11276,
    "h": 346.1
  },
  "luminance": 0.0345
}

Semantic roles & 50–950 ramp

primary
#5E1844
secondary
#3D945E
accent
#E38045
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5E1844

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

Preview Lab → · Contrast checker → · Palette generator →

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