#5D112A#5D112A

#5D112A is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.1% C 0.109 H 6.5°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#5D112A
RGBrgb(93, 17, 42)
HSLhsl(340, 69%, 22%)
HSVhsv(340, 82%, 36%)
CMYKcmyk(0%, 81.7%, 54.8%, 63.5%)
CIE-LABlab(19.62, 35.45, 4.73)
CIE-LCHlch(19.62, 35.77, 7.61°)
OKLaboklab(32.12% 0.1082 0.0123)
OKLCHoklch(32.12% 0.109 6.5)
XYZxyz(5.1330, 2.8959, 2.4787)
Luminance0.0290 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D112A #115D44
analogous
#5D1150 #5D112A #5D1E11
triadic
#5D112A #2A5D11 #112A5D
tetradic
#5D112A #505D11 #115D44 #1E115D
square
#5D112A #505D11 #115D44 #1E115D
split-complementary
#5D112A #115D1E #11505D
monochromatic
#1A050C #290813 #5D112A #911A41 #C42459

Accessibility & contrast

On white

13.30
#5D112A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#5D112A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D112A
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D112A#FFFFFF#000000##FFFFFF
##5D112A1.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24262B
Deuteranopia (green-blind)
#383528
Tritanopia (blue-blind)
#66001C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5d112a;
/* rgb */ color: rgb(93, 17, 42);
/* oklch */ color: oklch(32.1% 0.109 6.5);
Tailwind
colors: {
  custom: {
    50: '#905763',
    500: '#5d112a',
    950: '#000000',
  },
}
SCSS
$custom: #5d112a;
$custom-light: #905763;
$custom-dark: #000000;
JSON
{
  "hex": "#5d112a",
  "rgb": {
    "r": 93,
    "g": 17,
    "b": 42
  },
  "hsl": {
    "h": 340.263,
    "s": 69.091,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32119,
    "c": 0.1089,
    "h": 6.5
  },
  "luminance": 0.02895
}

Semantic roles & 50–950 ramp

primary
#5D112A
secondary
#349676
accent
#ECB23C
background
#F9F5F5
surface
#F2E9EA
border
#CCC5C6
text
#0D0305
muted
#7E7879

Preview Lab

Preview with #5D112A

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

Preview Lab → · Contrast checker → · Palette generator →

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