#5D0D4F#5D0D4F

#5D0D4F is a dark, vivid pink. Relative luminance 0.032; OKLCH L 33.5% C 0.133 H 336.7°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#5D0D4F
RGBrgb(93, 13, 79)
HSLhsl(311, 75%, 21%)
HSVhsv(311, 86%, 36%)
CMYKcmyk(0%, 86%, 15.1%, 63.5%)
CIE-LABlab(20.75, 41.44, -19.31)
CIE-LCHlch(20.75, 45.72, 335.02°)
OKLaboklab(33.45% 0.1221 -0.0526)
OKLCHoklch(33.45% 0.133 336.7)
XYZxyz(6.0695, 3.1801, 7.6898)
Luminance0.0318 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D0D4F #0D5D1B
analogous
#430D5D #5D0D4F #5D0D27
triadic
#5D0D4F #4F5D0D #0D4F5D
tetradic
#5D0D4F #5D430D #0D5D1B #0D275D
square
#5D0D4F #5D430D #0D5D1B #0D275D
split-complementary
#5D0D4F #275D0D #0D5D43
monochromatic
#1B0417 #270521 #5D0D4F #93157D #C81CAA

Accessibility & contrast

On white

12.84
#5D0D4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#5D0D4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D0D4F
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D0D4F#FFFFFF#000000##FFFFFF
##5D0D4F1.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2A51
Deuteranopia (green-blind)
#2D364D
Tritanopia (blue-blind)
#62132E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5d0d4f;
/* rgb */ color: rgb(93, 13, 79);
/* oklch */ color: oklch(33.5% 0.133 336.7);
Tailwind
colors: {
  custom: {
    50: '#8e5780',
    500: '#5d0d4f',
    950: '#000000',
  },
}
SCSS
$custom: #5d0d4f;
$custom-light: #8e5780;
$custom-dark: #000000;
JSON
{
  "hex": "#5d0d4f",
  "rgb": {
    "r": 93,
    "g": 13,
    "b": 79
  },
  "hsl": {
    "h": 310.5,
    "s": 75.472,
    "l": 20.784
  },
  "oklch": {
    "l": 0.33454,
    "c": 0.13298,
    "h": 336.7
  },
  "luminance": 0.0318
}

Semantic roles & 50–950 ramp

primary
#5D0D4F
secondary
#2F9741
accent
#F25736
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5D0D4F

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

Preview Lab → · Contrast checker → · Palette generator →

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