#5D1839#5D1839

#5D1839 is a dark, moderate pink. Relative luminance 0.033; OKLCH L 33.4% C 0.106 H 355.0°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#5D1839
RGBrgb(93, 24, 57)
HSLhsl(331, 59%, 23%)
HSVhsv(331, 74%, 36%)
CMYKcmyk(0%, 74.2%, 38.7%, 63.5%)
CIE-LABlab(21.12, 34.33, -3.62)
CIE-LCHlch(21.12, 34.52, 353.97°)
OKLaboklab(33.39% 0.1051 -0.0091)
OKLCHoklch(33.39% 0.106 355)
XYZxyz(5.5797, 3.2765, 4.2087)
Luminance0.0328 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1839 #185D3C
analogous
#5D185B #5D1839 #5D1918
triadic
#5D1839 #395D18 #18395D
tetradic
#5D1839 #5B5D18 #185D3C #19185D
square
#5D1839 #5B5D18 #185D3C #19185D
split-complementary
#5D1839 #185D19 #185B5D
monochromatic
#18060F #2C0B1B #5D1839 #8E2557 #BE3175

Accessibility & contrast

On white

12.69
#5D1839 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#5D1839 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1839
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1839#FFFFFF#000000##FFFFFF
##5D18391.0012.691.6612.69
#FFFFFF12.691.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242B3A
Deuteranopia (green-blind)
#373737
Tritanopia (blue-blind)
#651226
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5d1839;
/* rgb */ color: rgb(93, 24, 57);
/* oklch */ color: oklch(33.4% 0.106 355.0);
Tailwind
colors: {
  custom: {
    50: '#8e5b6f',
    500: '#5d1839',
    950: '#000000',
  },
}
SCSS
$custom: #5d1839;
$custom-light: #8e5b6f;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1839",
  "rgb": {
    "r": 93,
    "g": 24,
    "b": 57
  },
  "hsl": {
    "h": 331.304,
    "s": 58.974,
    "l": 22.941
  },
  "oklch": {
    "l": 0.33386,
    "c": 0.10552,
    "h": 355
  },
  "luminance": 0.03276
}

Semantic roles & 50–950 ramp

primary
#5D1839
secondary
#3D936A
accent
#E29746
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0407
muted
#7E797A

Preview Lab

Preview with #5D1839

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

Preview Lab → · Contrast checker → · Palette generator →

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