#5D0F4A#5D0F4A

#5D0F4A is a dark, vivid pink. Relative luminance 0.032; OKLCH L 33.3% C 0.127 H 340.2°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#5D0F4A
RGBrgb(93, 15, 74)
HSLhsl(315, 72%, 21%)
HSVhsv(315, 84%, 36%)
CMYKcmyk(0%, 83.9%, 20.4%, 63.5%)
CIE-LABlab(20.69, 40.07, -16.00)
CIE-LCHlch(20.69, 43.15, 338.23°)
OKLaboklab(33.32% 0.1198 -0.0432)
OKLCHoklch(33.32% 0.127 340.2)
XYZxyz(5.9212, 3.1638, 6.7761)
Luminance0.0316 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D0F4A #0F5D22
analogous
#490F5D #5D0F4A #5D0F23
triadic
#5D0F4A #4A5D0F #0F4A5D
tetradic
#5D0F4A #5D490F #0F5D22 #0F235D
square
#5D0F4A #5D490F #0F5D22 #0F235D
split-complementary
#5D0F4A #235D0F #0F5D49
monochromatic
#1A0415 #280620 #5D0F4A #921774 #C6209E

Accessibility & contrast

On white

12.86
#5D0F4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#5D0F4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D0F4A
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D0F4A#FFFFFF#000000##FFFFFF
##5D0F4A1.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152A4C
Deuteranopia (green-blind)
#2F3648
Tritanopia (blue-blind)
#63122B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5d0f4a;
/* rgb */ color: rgb(93, 15, 74);
/* oklch */ color: oklch(33.3% 0.127 340.2);
Tailwind
colors: {
  custom: {
    50: '#8e587c',
    500: '#5d0f4a',
    950: '#000000',
  },
}
SCSS
$custom: #5d0f4a;
$custom-light: #8e587c;
$custom-dark: #000000;
JSON
{
  "hex": "#5d0f4a",
  "rgb": {
    "r": 93,
    "g": 15,
    "b": 74
  },
  "hsl": {
    "h": 314.615,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.33321,
    "c": 0.12732,
    "h": 340.2
  },
  "luminance": 0.03163
}

Semantic roles & 50–950 ramp

primary
#5D0F4A
secondary
#31964A
accent
#EF6539
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5D0F4A

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

Preview Lab → · Contrast checker → · Palette generator →

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