#5D112F#5D112F

#5D112F is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.3% C 0.110 H 2.1°. Best body text is #FFFFFF at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#5D112F
RGBrgb(93, 17, 47)
HSLhsl(336, 69%, 22%)
HSVhsv(336, 82%, 36%)
CMYKcmyk(0%, 81.7%, 49.5%, 63.5%)
CIE-LABlab(19.78, 35.94, 1.41)
CIE-LCHlch(19.78, 35.97, 2.25°)
OKLaboklab(32.28% 0.1102 0.004)
OKLCHoklch(32.28% 0.11 2.1)
XYZxyz(5.2282, 2.9340, 2.9798)
Luminance0.0293 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D112F #115D3F
analogous
#5D1155 #5D112F #5D1911
triadic
#5D112F #2F5D11 #112F5D
tetradic
#5D112F #555D11 #115D3F #19115D
square
#5D112F #555D11 #115D3F #19115D
split-complementary
#5D112F #115D19 #11555D
monochromatic
#1A050D #290815 #5D112F #911A49 #C42463

Accessibility & contrast

On white

13.24
#5D112F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#5D112F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D112F
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D112F#FFFFFF#000000##FFFFFF
##5D112F1.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232630
Deuteranopia (green-blind)
#37352D
Tritanopia (blue-blind)
#66031E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5d112f;
/* rgb */ color: rgb(93, 17, 47);
/* oklch */ color: oklch(32.3% 0.110 2.1);
Tailwind
colors: {
  custom: {
    50: '#8f5767',
    500: '#5d112f',
    950: '#000000',
  },
}
SCSS
$custom: #5d112f;
$custom-light: #8f5767;
$custom-dark: #000000;
JSON
{
  "hex": "#5d112f",
  "rgb": {
    "r": 93,
    "g": 17,
    "b": 47
  },
  "hsl": {
    "h": 336.316,
    "s": 69.091,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32284,
    "c": 0.1103,
    "h": 2.1
  },
  "luminance": 0.02933
}

Semantic roles & 50–950 ramp

primary
#5D112F
secondary
#34966F
accent
#ECA63C
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5D112F

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

Preview Lab → · Contrast checker → · Palette generator →

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