#5D1940#5D1940

#5D1940 is a dark, moderate pink. Relative luminance 0.034; OKLCH L 33.8% C 0.108 H 349.1°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#5D1940
RGBrgb(93, 25, 64)
HSLhsl(326, 58%, 23%)
HSVhsv(326, 73%, 36%)
CMYKcmyk(0%, 73.1%, 31.2%, 63.5%)
CIE-LABlab(21.55, 34.83, -7.81)
CIE-LCHlch(21.55, 35.70, 347.36°)
OKLaboklab(33.8% 0.106 -0.0204)
OKLCHoklch(33.8% 0.108 349.1)
XYZxyz(5.7875, 3.3932, 5.1997)
Luminance0.0339 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1940 #195D36
analogous
#58195D #5D1940 #5D191E
triadic
#5D1940 #405D19 #19405D
tetradic
#5D1940 #5D5819 #195D36 #191E5D
square
#5D1940 #5D5819 #195D36 #191E5D
split-complementary
#5D1940 #1E5D19 #195D58
monochromatic
#180611 #2D0C1F #5D1940 #8D2661 #BD3382

Accessibility & contrast

On white

12.51
#5D1940 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D1940
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1940#FFFFFF#000000##FFFFFF
##5D19401.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222C41
Deuteranopia (green-blind)
#36383E
Tritanopia (blue-blind)
#64162A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5d1940;
/* rgb */ color: rgb(93, 25, 64);
/* oklch */ color: oklch(33.8% 0.108 349.1);
Tailwind
colors: {
  custom: {
    50: '#8e5c74',
    500: '#5d1940',
    950: '#000000',
  },
}
SCSS
$custom: #5d1940;
$custom-light: #8e5c74;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1940",
  "rgb": {
    "r": 93,
    "g": 25,
    "b": 64
  },
  "hsl": {
    "h": 325.588,
    "s": 57.627,
    "l": 23.137
  },
  "oklch": {
    "l": 0.33798,
    "c": 0.10793,
    "h": 349.1
  },
  "luminance": 0.03393
}

Semantic roles & 50–950 ramp

primary
#5D1940
secondary
#3F9363
accent
#E18947
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5D1940

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

Preview Lab → · Contrast checker → · Palette generator →

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