#5D1031#5D1031

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

Color values

HEX#5D1031
RGBrgb(93, 16, 49)
HSLhsl(334, 71%, 21%)
HSVhsv(334, 83%, 36%)
CMYKcmyk(0%, 82.8%, 47.3%, 63.5%)
CIE-LABlab(19.72, 36.50, -0.08)
CIE-LCHlch(19.72, 36.50, 359.87°)
OKLaboklab(32.26% 0.1121 0.0002)
OKLCHoklch(32.26% 0.112 0.1)
XYZxyz(5.2543, 2.9202, 3.1921)
Luminance0.0292 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1031 #105D3C
analogous
#5D1058 #5D1031 #5D1610
triadic
#5D1031 #315D10 #10315D
tetradic
#5D1031 #585D10 #105D3C #16105D
square
#5D1031 #585D10 #105D3C #16105D
split-complementary
#5D1031 #105D16 #10585D
monochromatic
#1A040E #290715 #5D1031 #91194D #C52268

Accessibility & contrast

On white

13.26
#5D1031 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D1031
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1031#FFFFFF#000000##FFFFFF
##5D10311.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d1031;
/* rgb */ color: rgb(93, 16, 49);
/* oklch */ color: oklch(32.3% 0.112 0.1);
Tailwind
colors: {
  custom: {
    50: '#8f5768',
    500: '#5d1031',
    950: '#000000',
  },
}
SCSS
$custom: #5d1031;
$custom-light: #8f5768;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1031",
  "rgb": {
    "r": 93,
    "g": 16,
    "b": 49
  },
  "hsl": {
    "h": 334.286,
    "s": 70.642,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32264,
    "c": 0.11212,
    "h": 0.1
  },
  "luminance": 0.02919
}

Semantic roles & 50–950 ramp

primary
#5D1031
secondary
#33966B
accent
#EDA13A
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0306
muted
#7E787A

Preview Lab

Preview with #5D1031

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

Preview Lab → · Contrast checker → · Palette generator →

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