#5D182B#5D182B

#5D182B is a dark, moderate pink. Relative luminance 0.032; OKLCH L 32.9% C 0.101 H 8.1°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#5D182B
RGBrgb(93, 24, 43)
HSLhsl(343, 59%, 23%)
HSVhsv(343, 74%, 36%)
CMYKcmyk(0%, 74.2%, 53.8%, 63.5%)
CIE-LABlab(20.66, 32.75, 5.49)
CIE-LCHlch(20.66, 33.20, 9.51°)
OKLaboklab(32.89% 0.0996 0.0142)
OKLCHoklch(32.89% 0.101 8.1)
XYZxyz(5.2773, 3.1555, 2.6162)
Luminance0.0316 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D182B #185D4A
analogous
#5D184D #5D182B #5D2718
triadic
#5D182B #2B5D18 #182B5D
tetradic
#5D182B #4D5D18 #185D4A #27185D
square
#5D182B #4D5D18 #185D4A #27185D
split-complementary
#5D182B #185D27 #184D5D
monochromatic
#18060B #2C0B15 #5D182B #8E2541 #BE3158

Accessibility & contrast

On white

12.88
#5D182B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#5D182B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D182B
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D182B#FFFFFF#000000##FFFFFF
##5D182B1.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28292B
Deuteranopia (green-blind)
#3A3729
Tritanopia (blue-blind)
#660B20
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5d182b;
/* rgb */ color: rgb(93, 24, 43);
/* oklch */ color: oklch(32.9% 0.101 8.1);
Tailwind
colors: {
  custom: {
    50: '#8f5a64',
    500: '#5d182b',
    950: '#000000',
  },
}
SCSS
$custom: #5d182b;
$custom-light: #8f5a64;
$custom-dark: #000000;
JSON
{
  "hex": "#5d182b",
  "rgb": {
    "r": 93,
    "g": 24,
    "b": 43
  },
  "hsl": {
    "h": 343.478,
    "s": 58.974,
    "l": 22.941
  },
  "oklch": {
    "l": 0.32893,
    "c": 0.10065,
    "h": 8.1
  },
  "luminance": 0.03155
}

Semantic roles & 50–950 ramp

primary
#5D182B
secondary
#3D937C
accent
#E2B746
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0405
muted
#7E7979

Preview Lab

Preview with #5D182B

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

Preview Lab → · Contrast checker → · Palette generator →

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