#5D1328#5D1328

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

Color values

HEX#5D1328
RGBrgb(93, 19, 40)
HSLhsl(343, 66%, 22%)
HSVhsv(343, 80%, 36%)
CMYKcmyk(0%, 79.6%, 57%, 63.5%)
CIE-LABlab(19.83, 34.53, 6.44)
CIE-LCHlch(19.83, 35.12, 10.57°)
OKLaboklab(32.25% 0.105 0.0165)
OKLCHoklch(32.25% 0.106 8.9)
XYZxyz(5.1305, 2.9468, 2.3057)
Luminance0.0295 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1328 #135D48
analogous
#5D134D #5D1328 #5D2313
triadic
#5D1328 #285D13 #13285D
tetradic
#5D1328 #4D5D13 #135D48 #23135D
square
#5D1328 #4D5D13 #135D48 #23135D
split-complementary
#5D1328 #135D23 #134D5D
monochromatic
#19050B #2A0912 #5D1328 #901D3E #C32854

Accessibility & contrast

On white

13.21
#5D1328 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#5D1328 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1328
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1328#FFFFFF#000000##FFFFFF
##5D13281.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262628
Deuteranopia (green-blind)
#393526
Tritanopia (blue-blind)
#66021C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5d1328;
/* rgb */ color: rgb(93, 19, 40);
/* oklch */ color: oklch(32.3% 0.106 8.9);
Tailwind
colors: {
  custom: {
    50: '#905861',
    500: '#5d1328',
    950: '#000000',
  },
}
SCSS
$custom: #5d1328;
$custom-light: #905861;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1328",
  "rgb": {
    "r": 93,
    "g": 19,
    "b": 40
  },
  "hsl": {
    "h": 342.973,
    "s": 66.071,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32253,
    "c": 0.10624,
    "h": 8.9
  },
  "luminance": 0.02946
}

Semantic roles & 50–950 ramp

primary
#5D1328
secondary
#37957A
accent
#E9B93F
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0405
muted
#7E7979

Preview Lab

Preview with #5D1328

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

Preview Lab → · Contrast checker → · Palette generator →

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