#5D1331#5D1331

#5D1331 is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.5% C 0.109 H 0.9°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#5D1331
RGBrgb(93, 19, 49)
HSLhsl(336, 66%, 22%)
HSVhsv(336, 80%, 36%)
CMYKcmyk(0%, 79.6%, 47.3%, 63.5%)
CIE-LABlab(20.11, 35.42, 0.48)
CIE-LCHlch(20.11, 35.42, 0.77°)
OKLaboklab(32.55% 0.1087 0.0016)
OKLCHoklch(32.55% 0.109 0.9)
XYZxyz(5.3019, 3.0153, 3.2080)
Luminance0.0301 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1331 #135D3F
analogous
#5D1356 #5D1331 #5D1A13
triadic
#5D1331 #315D13 #13315D
tetradic
#5D1331 #565D13 #135D3F #1A135D
square
#5D1331 #565D13 #135D3F #1A135D
split-complementary
#5D1331 #135D1A #13565D
monochromatic
#19050D #2A0916 #5D1331 #901D4C #C32867

Accessibility & contrast

On white

13.10
#5D1331 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#5D1331 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1331
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1331#FFFFFF#000000##FFFFFF
##5D13311.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242732
Deuteranopia (green-blind)
#37362F
Tritanopia (blue-blind)
#650720
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5d1331;
/* rgb */ color: rgb(93, 19, 49);
/* oklch */ color: oklch(32.5% 0.109 0.9);
Tailwind
colors: {
  custom: {
    50: '#8f5868',
    500: '#5d1331',
    950: '#000000',
  },
}
SCSS
$custom: #5d1331;
$custom-light: #8f5868;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1331",
  "rgb": {
    "r": 93,
    "g": 19,
    "b": 49
  },
  "hsl": {
    "h": 335.676,
    "s": 66.071,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32546,
    "c": 0.10867,
    "h": 0.9
  },
  "luminance": 0.03015
}

Semantic roles & 50–950 ramp

primary
#5D1331
secondary
#37956F
accent
#E9A43F
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5D1331

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

Preview Lab → · Contrast checker → · Palette generator →

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