#5D1631#5D1631

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

Color values

HEX#5D1631
RGBrgb(93, 22, 49)
HSLhsl(337, 62%, 23%)
HSVhsv(337, 76%, 36%)
CMYKcmyk(0%, 76.3%, 47.3%, 63.5%)
CIE-LABlab(20.53, 34.23, 1.10)
CIE-LCHlch(20.53, 34.25, 1.84°)
OKLaboklab(32.86% 0.1049 0.0032)
OKLCHoklch(32.86% 0.105 1.8)
XYZxyz(5.3559, 3.1234, 3.2260)
Luminance0.0312 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1631 #165D42
analogous
#5D1654 #5D1631 #5D1E16
triadic
#5D1631 #315D16 #16315D
tetradic
#5D1631 #545D16 #165D42 #1E165D
square
#5D1631 #545D16 #165D42 #1E165D
split-complementary
#5D1631 #165D1E #16545D
monochromatic
#19060D #2C0A17 #5D1631 #8E224B #C02D65

Accessibility & contrast

On white

12.93
#5D1631 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D1631
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1631#FFFFFF#000000##FFFFFF
##5D16311.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252932
Deuteranopia (green-blind)
#38362F
Tritanopia (blue-blind)
#650B21
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5d1631;
/* rgb */ color: rgb(93, 22, 49);
/* oklch */ color: oklch(32.9% 0.105 1.8);
Tailwind
colors: {
  custom: {
    50: '#8f5a68',
    500: '#5d1631',
    950: '#000000',
  },
}
SCSS
$custom: #5d1631;
$custom-light: #8f5a68;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1631",
  "rgb": {
    "r": 93,
    "g": 22,
    "b": 49
  },
  "hsl": {
    "h": 337.183,
    "s": 61.739,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32861,
    "c": 0.1049,
    "h": 1.8
  },
  "luminance": 0.03123
}

Semantic roles & 50–950 ramp

primary
#5D1631
secondary
#3B9472
accent
#E5A743
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5D1631

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

Preview Lab → · Contrast checker → · Palette generator →

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