#5D1547#5D1547

#5D1547 is a dark, moderate pink. Relative luminance 0.033; OKLCH L 33.7% C 0.118 H 342.8°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#5D1547
RGBrgb(93, 21, 71)
HSLhsl(318, 63%, 22%)
HSVhsv(318, 77%, 36%)
CMYKcmyk(0%, 77.4%, 23.7%, 63.5%)
CIE-LABlab(21.28, 37.51, -13.04)
CIE-LCHlch(21.28, 39.71, 340.84°)
OKLaboklab(33.7% 0.1128 -0.0349)
OKLCHoklch(33.7% 0.118 342.8)
XYZxyz(5.9199, 3.3190, 6.2889)
Luminance0.0332 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1547 #155D2B
analogous
#4F155D #5D1547 #5D1523
triadic
#5D1547 #475D15 #15475D
tetradic
#5D1547 #5D4F15 #155D2B #15235D
square
#5D1547 #5D4F15 #155D2B #15235D
split-complementary
#5D1547 #235D15 #155D4F
monochromatic
#190613 #2B0A21 #5D1547 #8F206D #C12C93

Accessibility & contrast

On white

12.62
#5D1547 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#5D1547 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1547
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1547#FFFFFF#000000##FFFFFF
##5D15471.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2C48
Deuteranopia (green-blind)
#323745
Tritanopia (blue-blind)
#63152C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5d1547;
/* rgb */ color: rgb(93, 21, 71);
/* oklch */ color: oklch(33.7% 0.118 342.8);
Tailwind
colors: {
  custom: {
    50: '#8e5a7a',
    500: '#5d1547',
    950: '#000000',
  },
}
SCSS
$custom: #5d1547;
$custom-light: #8e5a7a;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1547",
  "rgb": {
    "r": 93,
    "g": 21,
    "b": 71
  },
  "hsl": {
    "h": 318.333,
    "s": 63.158,
    "l": 22.353
  },
  "oklch": {
    "l": 0.33699,
    "c": 0.11809,
    "h": 342.8
  },
  "luminance": 0.03318
}

Semantic roles & 50–950 ramp

primary
#5D1547
secondary
#399455
accent
#E67442
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5D1547

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

Preview Lab → · Contrast checker → · Palette generator →

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