#5D1D4E#5D1D4E

#5D1D4E is a dark, moderate pink. Relative luminance 0.038; OKLCH L 35.0% C 0.112 H 338.2°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#5D1D4E
RGBrgb(93, 29, 78)
HSLhsl(314, 52%, 24%)
HSVhsv(314, 69%, 36%)
CMYKcmyk(0%, 68.8%, 16.1%, 63.5%)
CIE-LABlab(22.85, 35.20, -15.36)
CIE-LCHlch(22.85, 38.41, 336.43°)
OKLaboklab(34.96% 0.1038 -0.0415)
OKLCHoklch(34.96% 0.112 338.2)
XYZxyz(6.3288, 3.7565, 7.5980)
Luminance0.0376 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1D4E #1D5D2C
analogous
#4C1D5D #5D1D4E #5D1D2E
triadic
#5D1D4E #4E5D1D #1D4E5D
tetradic
#5D1D4E #5D4C1D #1D5D2C #1D2E5D
square
#5D1D4E #5D4C1D #1D5D2C #1D2E5D
split-complementary
#5D1D4E #2E5D1D #1D5D4C
monochromatic
#170714 #2E0E27 #5D1D4E #8C2C75 #BA3A9C

Accessibility & contrast

On white

11.99
#5D1D4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#5D1D4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1D4E
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1D4E#FFFFFF#000000##FFFFFF
##5D1D4E1.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F304F
Deuteranopia (green-blind)
#333A4C
Tritanopia (blue-blind)
#622032
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5d1d4e;
/* rgb */ color: rgb(93, 29, 78);
/* oklch */ color: oklch(35.0% 0.112 338.2);
Tailwind
colors: {
  custom: {
    50: '#8d5e7f',
    500: '#5d1d4e',
    950: '#000000',
  },
}
SCSS
$custom: #5d1d4e;
$custom-light: #8d5e7f;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1d4e",
  "rgb": {
    "r": 93,
    "g": 29,
    "b": 78
  },
  "hsl": {
    "h": 314.063,
    "s": 52.459,
    "l": 23.922
  },
  "oklch": {
    "l": 0.34956,
    "c": 0.11182,
    "h": 338.2
  },
  "luminance": 0.03756
}

Semantic roles & 50–950 ramp

primary
#5D1D4E
secondary
#449256
accent
#DC6E4C
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C050A
muted
#7D797C

Preview Lab

Preview with #5D1D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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