#5D113F#5D113F

#5D113F is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.9% C 0.118 H 348.6°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#5D113F
RGBrgb(93, 17, 63)
HSLhsl(324, 69%, 22%)
HSVhsv(324, 82%, 36%)
CMYKcmyk(0%, 81.7%, 32.3%, 63.5%)
CIE-LABlab(20.39, 37.84, -8.89)
CIE-LCHlch(20.39, 38.87, 346.78°)
OKLaboklab(32.93% 0.1155 -0.0233)
OKLCHoklch(32.93% 0.118 348.6)
XYZxyz(5.6121, 3.0876, 5.0021)
Luminance0.0309 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D113F #115D2F
analogous
#55115D #5D113F #5D1119
triadic
#5D113F #3F5D11 #113F5D
tetradic
#5D113F #5D5511 #115D2F #11195D
square
#5D113F #5D5511 #115D2F #11195D
split-complementary
#5D113F #195D11 #115D55
monochromatic
#1A0512 #29081C #5D113F #911A62 #C42485

Accessibility & contrast

On white

12.98
#5D113F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#5D113F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D113F
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D113F#FFFFFF#000000##FFFFFF
##5D113F1.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2940
Deuteranopia (green-blind)
#33363D
Tritanopia (blue-blind)
#640D26
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5d113f;
/* rgb */ color: rgb(93, 17, 63);
/* oklch */ color: oklch(32.9% 0.118 348.6);
Tailwind
colors: {
  custom: {
    50: '#8e5874',
    500: '#5d113f',
    950: '#000000',
  },
}
SCSS
$custom: #5d113f;
$custom-light: #8e5874;
$custom-dark: #000000;
JSON
{
  "hex": "#5d113f",
  "rgb": {
    "r": 93,
    "g": 17,
    "b": 63
  },
  "hsl": {
    "h": 323.684,
    "s": 69.091,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32933,
    "c": 0.11784,
    "h": 348.6
  },
  "luminance": 0.03087
}

Semantic roles & 50–950 ramp

primary
#5D113F
secondary
#34965B
accent
#EC813C
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5D113F

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

Preview Lab → · Contrast checker → · Palette generator →

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