#5D1841#5D1841

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

Color values

HEX#5D1841
RGBrgb(93, 24, 65)
HSLhsl(324, 59%, 23%)
HSVhsv(324, 74%, 36%)
CMYKcmyk(0%, 74.2%, 30.1%, 63.5%)
CIE-LABlab(21.44, 35.41, -8.67)
CIE-LCHlch(21.44, 36.45, 346.24°)
OKLaboklab(33.73% 0.1076 -0.0228)
OKLCHoklch(33.73% 0.11 348)
XYZxyz(5.7952, 3.3627, 5.3439)
Luminance0.0336 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1841 #185D34
analogous
#56185D #5D1841 #5D181E
triadic
#5D1841 #415D18 #18415D
tetradic
#5D1841 #5D5618 #185D34 #181E5D
square
#5D1841 #5D5618 #185D34 #181E5D
split-complementary
#5D1841 #1E5D18 #185D56
monochromatic
#180611 #2C0B1F #5D1841 #8E2563 #BE3185

Accessibility & contrast

On white

12.56
#5D1841 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#5D1841 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1841
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1841#FFFFFF#000000##FFFFFF
##5D18411.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212C42
Deuteranopia (green-blind)
#35383F
Tritanopia (blue-blind)
#64152A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5d1841;
/* rgb */ color: rgb(93, 24, 65);
/* oklch */ color: oklch(33.7% 0.110 348.0);
Tailwind
colors: {
  custom: {
    50: '#8e5b75',
    500: '#5d1841',
    950: '#000000',
  },
}
SCSS
$custom: #5d1841;
$custom-light: #8e5b75;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1841",
  "rgb": {
    "r": 93,
    "g": 24,
    "b": 65
  },
  "hsl": {
    "h": 324.348,
    "s": 58.974,
    "l": 22.941
  },
  "oklch": {
    "l": 0.33729,
    "c": 0.10999,
    "h": 348
  },
  "luminance": 0.03362
}

Semantic roles & 50–950 ramp

primary
#5D1841
secondary
#3D9360
accent
#E28546
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5D1841

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

Preview Lab → · Contrast checker → · Palette generator →

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