#5D1040#5D1040

#5D1040 is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.9% C 0.120 H 347.7°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#5D1040
RGBrgb(93, 16, 64)
HSLhsl(323, 71%, 21%)
HSVhsv(323, 83%, 36%)
CMYKcmyk(0%, 82.8%, 31.2%, 63.5%)
CIE-LABlab(20.32, 38.32, -9.69)
CIE-LCHlch(20.32, 39.52, 345.80°)
OKLaboklab(32.89% 0.1168 -0.0256)
OKLCHoklch(32.89% 0.12 347.7)
XYZxyz(5.6252, 3.0685, 5.1455)
Luminance0.0307 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1040 #105D2D
analogous
#54105D #5D1040 #5D101A
triadic
#5D1040 #405D10 #10405D
tetradic
#5D1040 #5D5410 #105D2D #101A5D
square
#5D1040 #5D5410 #105D2D #101A5D
split-complementary
#5D1040 #1A5D10 #105D54
monochromatic
#1A0412 #29071C #5D1040 #911964 #C52288

Accessibility & contrast

On white

13.01
#5D1040 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#5D1040 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1040
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1040#FFFFFF#000000##FFFFFF
##5D10401.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C2941
Deuteranopia (green-blind)
#33363E
Tritanopia (blue-blind)
#640C26
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5d1040;
/* rgb */ color: rgb(93, 16, 64);
/* oklch */ color: oklch(32.9% 0.120 347.7);
Tailwind
colors: {
  custom: {
    50: '#8e5874',
    500: '#5d1040',
    950: '#000000',
  },
}
SCSS
$custom: #5d1040;
$custom-light: #8e5874;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1040",
  "rgb": {
    "r": 93,
    "g": 16,
    "b": 64
  },
  "hsl": {
    "h": 322.597,
    "s": 70.642,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32893,
    "c": 0.11959,
    "h": 347.7
  },
  "luminance": 0.03068
}

Semantic roles & 50–950 ramp

primary
#5D1040
secondary
#339658
accent
#ED7E3A
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5D1040

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

Preview Lab → · Contrast checker → · Palette generator →

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