#5D1642#5D1642

#5D1642 is a dark, moderate pink. Relative luminance 0.033; OKLCH L 33.6% C 0.113 H 346.9°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#5D1642
RGBrgb(93, 22, 66)
HSLhsl(323, 62%, 23%)
HSVhsv(323, 76%, 36%)
CMYKcmyk(0%, 76.3%, 29%, 63.5%)
CIE-LABlab(21.19, 36.38, -9.74)
CIE-LCHlch(21.19, 37.66, 345.01°)
OKLaboklab(33.56% 0.1104 -0.0257)
OKLCHoklch(33.56% 0.113 346.9)
XYZxyz(5.7847, 3.2949, 5.4845)
Luminance0.0329 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1642 #165D31
analogous
#54165D #5D1642 #5D161E
triadic
#5D1642 #425D16 #16425D
tetradic
#5D1642 #5D5416 #165D31 #161E5D
square
#5D1642 #5D5416 #165D31 #161E5D
split-complementary
#5D1642 #1E5D16 #165D54
monochromatic
#190612 #2C0A1F #5D1642 #8E2265 #C02D88

Accessibility & contrast

On white

12.66
#5D1642 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D1642
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1642#FFFFFF#000000##FFFFFF
##5D16421.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2B43
Deuteranopia (green-blind)
#343740
Tritanopia (blue-blind)
#641429
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5d1642;
/* rgb */ color: rgb(93, 22, 66);
/* oklch */ color: oklch(33.6% 0.113 346.9);
Tailwind
colors: {
  custom: {
    50: '#8e5a76',
    500: '#5d1642',
    950: '#000000',
  },
}
SCSS
$custom: #5d1642;
$custom-light: #8e5a76;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1642",
  "rgb": {
    "r": 93,
    "g": 22,
    "b": 66
  },
  "hsl": {
    "h": 322.817,
    "s": 61.739,
    "l": 22.549
  },
  "oklch": {
    "l": 0.33558,
    "c": 0.1134,
    "h": 346.9
  },
  "luminance": 0.03294
}

Semantic roles & 50–950 ramp

primary
#5D1642
secondary
#3B945D
accent
#E58143
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5D1642

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

Preview Lab → · Contrast checker → · Palette generator →

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