#5D0F4E#5D0F4E

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

Color values

HEX#5D0F4E
RGBrgb(93, 15, 78)
HSLhsl(312, 72%, 21%)
HSVhsv(312, 84%, 36%)
CMYKcmyk(0%, 83.9%, 16.1%, 63.5%)
CIE-LABlab(20.90, 40.69, -18.39)
CIE-LCHlch(20.90, 44.65, 335.68°)
OKLaboklab(33.54% 0.1202 -0.05)
OKLCHoklch(33.54% 0.13 337.4)
XYZxyz(6.0603, 3.2194, 7.5085)
Luminance0.0322 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D0F4E #0F5D1E
analogous
#450F5D #5D0F4E #5D0F27
triadic
#5D0F4E #4E5D0F #0F4E5D
tetradic
#5D0F4E #5D450F #0F5D1E #0F275D
square
#5D0F4E #5D450F #0F5D1E #0F275D
split-complementary
#5D0F4E #275D0F #0F5D45
monochromatic
#1A0416 #280622 #5D0F4E #92177A #C620A6

Accessibility & contrast

On white

12.78
#5D0F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D0F4E
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D0F4E#FFFFFF#000000##FFFFFF
##5D0F4E1.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122B50
Deuteranopia (green-blind)
#2E364C
Tritanopia (blue-blind)
#62142E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5d0f4e;
/* rgb */ color: rgb(93, 15, 78);
/* oklch */ color: oklch(33.5% 0.130 337.4);
Tailwind
colors: {
  custom: {
    50: '#8e5880',
    500: '#5d0f4e',
    950: '#000000',
  },
}
SCSS
$custom: #5d0f4e;
$custom-light: #8e5880;
$custom-dark: #000000;
JSON
{
  "hex": "#5d0f4e",
  "rgb": {
    "r": 93,
    "g": 15,
    "b": 78
  },
  "hsl": {
    "h": 311.538,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.33544,
    "c": 0.13024,
    "h": 337.4
  },
  "luminance": 0.03219
}

Semantic roles & 50–950 ramp

primary
#5D0F4E
secondary
#319645
accent
#EF5C39
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5D0F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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