#5D182F#5D182F

#5D182F is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.0% C 0.102 H 4.3°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#5D182F
RGBrgb(93, 24, 47)
HSLhsl(340, 59%, 23%)
HSVhsv(340, 74%, 36%)
CMYKcmyk(0%, 74.2%, 49.5%, 63.5%)
CIE-LABlab(20.78, 33.16, 2.85)
CIE-LCHlch(20.78, 33.28, 4.92°)
OKLaboklab(33.02% 0.1013 0.0077)
OKLCHoklch(33.02% 0.102 4.3)
XYZxyz(5.3543, 3.1863, 3.0218)
Luminance0.0319 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D182F #185D46
analogous
#5D1851 #5D182F #5D2318
triadic
#5D182F #2F5D18 #182F5D
tetradic
#5D182F #515D18 #185D46 #23185D
square
#5D182F #515D18 #185D46 #23185D
split-complementary
#5D182F #185D23 #18515D
monochromatic
#18060C #2C0B16 #5D182F #8E2548 #BE3160

Accessibility & contrast

On white

12.83
#5D182F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#5D182F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D182F
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D182F#FFFFFF#000000##FFFFFF
##5D182F1.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272930
Deuteranopia (green-blind)
#39372D
Tritanopia (blue-blind)
#660D21
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5d182f;
/* rgb */ color: rgb(93, 24, 47);
/* oklch */ color: oklch(33.0% 0.102 4.3);
Tailwind
colors: {
  custom: {
    50: '#8f5b67',
    500: '#5d182f',
    950: '#000000',
  },
}
SCSS
$custom: #5d182f;
$custom-light: #8f5b67;
$custom-dark: #000000;
JSON
{
  "hex": "#5d182f",
  "rgb": {
    "r": 93,
    "g": 24,
    "b": 47
  },
  "hsl": {
    "h": 340,
    "s": 58.974,
    "l": 22.941
  },
  "oklch": {
    "l": 0.3302,
    "c": 0.10161,
    "h": 4.3
  },
  "luminance": 0.03186
}

Semantic roles & 50–950 ramp

primary
#5D182F
secondary
#3D9377
accent
#E2AE46
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5D182F

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

Preview Lab → · Contrast checker → · Palette generator →

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