#5D1A42#5D1A42

#5D1A42 is a dark, moderate pink. Relative luminance 0.035; OKLCH L 34.0% C 0.108 H 347.6°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#5D1A42
RGBrgb(93, 26, 66)
HSLhsl(324, 56%, 23%)
HSVhsv(324, 72%, 36%)
CMYKcmyk(0%, 72%, 29%, 63.5%)
CIE-LABlab(21.80, 34.68, -8.81)
CIE-LCHlch(21.80, 35.78, 345.74°)
OKLaboklab(34.01% 0.1052 -0.0232)
OKLCHoklch(34.01% 0.108 347.6)
XYZxyz(5.8672, 3.4599, 5.5120)
Luminance0.0346 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1A42 #1A5D35
analogous
#561A5D #5D1A42 #5D1A20
triadic
#5D1A42 #425D1A #1A425D
tetradic
#5D1A42 #5D561A #1A5D35 #1A205D
square
#5D1A42 #5D561A #1A5D35 #1A205D
split-complementary
#5D1A42 #205D1A #1A5D56
monochromatic
#180711 #2D0D20 #5D1A42 #8D2764 #BD3586

Accessibility & contrast

On white

12.41
#5D1A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#5D1A42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1A42
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1A42#FFFFFF#000000##FFFFFF
##5D1A421.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222D43
Deuteranopia (green-blind)
#363840
Tritanopia (blue-blind)
#64182B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5d1a42;
/* rgb */ color: rgb(93, 26, 66);
/* oklch */ color: oklch(34.0% 0.108 347.6);
Tailwind
colors: {
  custom: {
    50: '#8e5c76',
    500: '#5d1a42',
    950: '#000000',
  },
}
SCSS
$custom: #5d1a42;
$custom-light: #8e5c76;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1a42",
  "rgb": {
    "r": 93,
    "g": 26,
    "b": 66
  },
  "hsl": {
    "h": 324.179,
    "s": 56.303,
    "l": 23.333
  },
  "oklch": {
    "l": 0.34005,
    "c": 0.1077,
    "h": 347.6
  },
  "luminance": 0.03459
}

Semantic roles & 50–950 ramp

primary
#5D1A42
secondary
#409361
accent
#E08548
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0D0408
muted
#7D797B

Preview Lab

Preview with #5D1A42

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

Preview Lab → · Contrast checker → · Palette generator →

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