#5D1845#5D1845

#5D1845 is a dark, moderate pink. Relative luminance 0.034; OKLCH L 33.9% C 0.113 H 344.7°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#5D1845
RGBrgb(93, 24, 69)
HSLhsl(321, 59%, 23%)
HSVhsv(321, 74%, 36%)
CMYKcmyk(0%, 74.2%, 25.8%, 63.5%)
CIE-LABlab(21.62, 35.99, -11.15)
CIE-LCHlch(21.62, 37.68, 342.79°)
OKLaboklab(33.92% 0.1086 -0.0296)
OKLCHoklch(33.92% 0.113 344.7)
XYZxyz(5.9152, 3.4107, 5.9759)
Luminance0.0341 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1845 #185D30
analogous
#52185D #5D1845 #5D1822
triadic
#5D1845 #455D18 #18455D
tetradic
#5D1845 #5D5218 #185D30 #18225D
square
#5D1845 #5D5218 #185D30 #18225D
split-complementary
#5D1845 #225D18 #185D52
monochromatic
#180612 #2C0B21 #5D1845 #8E2569 #BE318D

Accessibility & contrast

On white

12.49
#5D1845 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D1845
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1845#FFFFFF#000000##FFFFFF
##5D18451.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202C46
Deuteranopia (green-blind)
#343843
Tritanopia (blue-blind)
#63172C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5d1845;
/* rgb */ color: rgb(93, 24, 69);
/* oklch */ color: oklch(33.9% 0.113 344.7);
Tailwind
colors: {
  custom: {
    50: '#8e5b78',
    500: '#5d1845',
    950: '#000000',
  },
}
SCSS
$custom: #5d1845;
$custom-light: #8e5b78;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1845",
  "rgb": {
    "r": 93,
    "g": 24,
    "b": 69
  },
  "hsl": {
    "h": 320.87,
    "s": 58.974,
    "l": 22.941
  },
  "oklch": {
    "l": 0.33917,
    "c": 0.1126,
    "h": 344.7
  },
  "luminance": 0.0341
}

Semantic roles & 50–950 ramp

primary
#5D1845
secondary
#3D935B
accent
#E27C46
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0D0409
muted
#7D797B

Preview Lab

Preview with #5D1845

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

Preview Lab → · Contrast checker → · Palette generator →

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