#5D1131#5D1131

#5D1131 is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.4% C 0.111 H 0.3°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#5D1131
RGBrgb(93, 17, 49)
HSLhsl(335, 69%, 22%)
HSVhsv(335, 82%, 36%)
CMYKcmyk(0%, 81.7%, 47.3%, 63.5%)
CIE-LABlab(19.84, 36.15, 0.10)
CIE-LCHlch(19.84, 36.15, 0.16°)
OKLaboklab(32.36% 0.111 0.0007)
OKLCHoklch(32.36% 0.111 0.3)
XYZxyz(5.2694, 2.9505, 3.1972)
Luminance0.0295 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1131 #115D3D
analogous
#5D1157 #5D1131 #5D1711
triadic
#5D1131 #315D11 #11315D
tetradic
#5D1131 #575D11 #115D3D #17115D
square
#5D1131 #575D11 #115D3D #17115D
split-complementary
#5D1131 #115D17 #11575D
monochromatic
#1A050E #290816 #5D1131 #911A4C #C42468

Accessibility & contrast

On white

13.21
#5D1131 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D1131
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1131#FFFFFF#000000##FFFFFF
##5D11311.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222732
Deuteranopia (green-blind)
#37352F
Tritanopia (blue-blind)
#66041F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5d1131;
/* rgb */ color: rgb(93, 17, 49);
/* oklch */ color: oklch(32.4% 0.111 0.3);
Tailwind
colors: {
  custom: {
    50: '#8f5868',
    500: '#5d1131',
    950: '#000000',
  },
}
SCSS
$custom: #5d1131;
$custom-light: #8f5868;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1131",
  "rgb": {
    "r": 93,
    "g": 17,
    "b": 49
  },
  "hsl": {
    "h": 334.737,
    "s": 69.091,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32355,
    "c": 0.11101,
    "h": 0.3
  },
  "luminance": 0.0295
}

Semantic roles & 50–950 ramp

primary
#5D1131
secondary
#34966D
accent
#ECA23C
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5D1131

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

Preview Lab → · Contrast checker → · Palette generator →

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