#5D183B#5D183B

#5D183B is a dark, moderate pink. Relative luminance 0.033; OKLCH L 33.5% C 0.107 H 353.2°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#5D183B
RGBrgb(93, 24, 59)
HSLhsl(330, 59%, 23%)
HSVhsv(330, 74%, 36%)
CMYKcmyk(0%, 74.2%, 36.6%, 63.5%)
CIE-LABlab(21.20, 34.59, -4.90)
CIE-LCHlch(21.20, 34.93, 351.94°)
OKLaboklab(33.47% 0.1058 -0.0125)
OKLCHoklch(33.47% 0.107 353.2)
XYZxyz(5.6306, 3.2968, 4.4767)
Luminance0.0330 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D183B #185D3A
analogous
#5C185D #5D183B #5D1819
triadic
#5D183B #3B5D18 #183B5D
tetradic
#5D183B #5D5C18 #185D3A #18195D
square
#5D183B #5D5C18 #185D3A #18195D
split-complementary
#5D183B #195D18 #185D5C
monochromatic
#18060F #2C0B1C #5D183B #8E255A #BE3179

Accessibility & contrast

On white

12.66
#5D183B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D183B
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D183B#FFFFFF#000000##FFFFFF
##5D183B1.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242B3C
Deuteranopia (green-blind)
#373839
Tritanopia (blue-blind)
#651327
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5d183b;
/* rgb */ color: rgb(93, 24, 59);
/* oklch */ color: oklch(33.5% 0.107 353.2);
Tailwind
colors: {
  custom: {
    50: '#8e5b70',
    500: '#5d183b',
    950: '#000000',
  },
}
SCSS
$custom: #5d183b;
$custom-light: #8e5b70;
$custom-dark: #000000;
JSON
{
  "hex": "#5d183b",
  "rgb": {
    "r": 93,
    "g": 24,
    "b": 59
  },
  "hsl": {
    "h": 329.565,
    "s": 58.974,
    "l": 22.941
  },
  "oklch": {
    "l": 0.33468,
    "c": 0.10653,
    "h": 353.2
  },
  "luminance": 0.03296
}

Semantic roles & 50–950 ramp

primary
#5D183B
secondary
#3D9368
accent
#E29346
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0407
muted
#7E797A

Preview Lab

Preview with #5D183B

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

Preview Lab → · Contrast checker → · Palette generator →

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