#5D1038#5D1038

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

Color values

HEX#5D1038
RGBrgb(93, 16, 56)
HSLhsl(329, 71%, 21%)
HSVhsv(329, 83%, 36%)
CMYKcmyk(0%, 82.8%, 39.8%, 63.5%)
CIE-LABlab(19.98, 37.29, -4.63)
CIE-LCHlch(19.98, 37.58, 352.93°)
OKLaboklab(32.54% 0.1146 -0.0118)
OKLCHoklch(32.54% 0.115 354.1)
XYZxyz(5.4137, 2.9839, 4.0315)
Luminance0.0298 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1038 #105D35
analogous
#5C105D #5D1038 #5D1012
triadic
#5D1038 #385D10 #10385D
tetradic
#5D1038 #5D5C10 #105D35 #10125D
square
#5D1038 #5D5C10 #105D35 #10125D
split-complementary
#5D1038 #125D10 #105D5C
monochromatic
#1A0410 #290719 #5D1038 #911957 #C52277

Accessibility & contrast

On white

13.15
#5D1038 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D1038
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1038#FFFFFF#000000##FFFFFF
##5D10381.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2739
Deuteranopia (green-blind)
#353536
Tritanopia (blue-blind)
#650722
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5d1038;
/* rgb */ color: rgb(93, 16, 56);
/* oklch */ color: oklch(32.5% 0.115 354.1);
Tailwind
colors: {
  custom: {
    50: '#8f576e',
    500: '#5d1038',
    950: '#000000',
  },
}
SCSS
$custom: #5d1038;
$custom-light: #8f576e;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1038",
  "rgb": {
    "r": 93,
    "g": 16,
    "b": 56
  },
  "hsl": {
    "h": 328.831,
    "s": 70.642,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32538,
    "c": 0.11516,
    "h": 354.1
  },
  "luminance": 0.02983
}

Semantic roles & 50–950 ramp

primary
#5D1038
secondary
#339662
accent
#ED903A
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0407
muted
#7E797A

Preview Lab

Preview with #5D1038

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

Preview Lab → · Contrast checker → · Palette generator →

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