#5E1843#5E1843

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

Color values

HEX#5E1843
RGBrgb(94, 24, 67)
HSLhsl(323, 59%, 23%)
HSVhsv(323, 74%, 37%)
CMYKcmyk(0%, 74.5%, 28.7%, 63.1%)
CIE-LABlab(21.72, 36.00, -9.60)
CIE-LCHlch(21.72, 37.26, 345.07°)
OKLaboklab(34% 0.1092 -0.0253)
OKLCHoklch(34% 0.112 346.9)
XYZxyz(5.9561, 3.4388, 5.6592)
Luminance0.0344 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E1843 #185E33
analogous
#56185E #5E1843 #5E1820
triadic
#5E1843 #435E18 #18435E
tetradic
#5E1843 #5E5618 #185E33 #18205E
square
#5E1843 #5E5618 #185E33 #18205E
split-complementary
#5E1843 #205E18 #185E56
monochromatic
#180611 #2D0C20 #5E1843 #8F2466 #C03188

Accessibility & contrast

On white

12.44
#5E1843 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E1843
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E1843#FFFFFF#000000##FFFFFF
##5E18431.0012.441.6912.44
#FFFFFF12.441.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212C44
Deuteranopia (green-blind)
#353841
Tritanopia (blue-blind)
#65162B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5e1843;
/* rgb */ color: rgb(94, 24, 67);
/* oklch */ color: oklch(34.0% 0.112 346.9);
Tailwind
colors: {
  custom: {
    50: '#8f5b77',
    500: '#5e1843',
    950: '#000000',
  },
}
SCSS
$custom: #5e1843;
$custom-light: #8f5b77;
$custom-dark: #000000;
JSON
{
  "hex": "#5e1843",
  "rgb": {
    "r": 94,
    "g": 24,
    "b": 67
  },
  "hsl": {
    "h": 323.143,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.33999,
    "c": 0.11211,
    "h": 346.9
  },
  "luminance": 0.03438
}

Semantic roles & 50–950 ramp

primary
#5E1843
secondary
#3D945F
accent
#E38245
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5E1843

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

Preview Lab → · Contrast checker → · Palette generator →

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