#5D1532#5D1532

#5D1532 is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.8% C 0.107 H 0.5°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#5D1532
RGBrgb(93, 21, 50)
HSLhsl(336, 63%, 22%)
HSVhsv(336, 77%, 36%)
CMYKcmyk(0%, 77.4%, 46.2%, 63.5%)
CIE-LABlab(20.42, 34.75, 0.23)
CIE-LCHlch(20.42, 34.75, 0.38°)
OKLaboklab(32.79% 0.1065 0.001)
OKLCHoklch(32.79% 0.107 0.5)
XYZxyz(5.3585, 3.0945, 3.3321)
Luminance0.0309 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1532 #155D40
analogous
#5D1556 #5D1532 #5D1C15
triadic
#5D1532 #325D15 #15325D
tetradic
#5D1532 #565D15 #155D40 #1C155D
square
#5D1532 #565D15 #155D40 #1C155D
split-complementary
#5D1532 #155D1C #15565D
monochromatic
#19060D #2B0A17 #5D1532 #8F204D #C12C68

Accessibility & contrast

On white

12.97
#5D1532 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D1532
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1532#FFFFFF#000000##FFFFFF
##5D15321.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242833
Deuteranopia (green-blind)
#383630
Tritanopia (blue-blind)
#650A21
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5d1532;
/* rgb */ color: rgb(93, 21, 50);
/* oklch */ color: oklch(32.8% 0.107 0.5);
Tailwind
colors: {
  custom: {
    50: '#8f5969',
    500: '#5d1532',
    950: '#000000',
  },
}
SCSS
$custom: #5d1532;
$custom-light: #8f5969;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1532",
  "rgb": {
    "r": 93,
    "g": 21,
    "b": 50
  },
  "hsl": {
    "h": 335.833,
    "s": 63.158,
    "l": 22.353
  },
  "oklch": {
    "l": 0.32788,
    "c": 0.10654,
    "h": 0.5
  },
  "luminance": 0.03094
}

Semantic roles & 50–950 ramp

primary
#5D1532
secondary
#399470
accent
#E6A442
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5D1532

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

Preview Lab → · Contrast checker → · Palette generator →

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