#5D0F4C#5D0F4C

#5D0F4C is a dark, vivid pink. Relative luminance 0.032; OKLCH L 33.4% C 0.129 H 338.8°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#5D0F4C
RGBrgb(93, 15, 76)
HSLhsl(313, 72%, 21%)
HSVhsv(313, 84%, 36%)
CMYKcmyk(0%, 83.9%, 18.3%, 63.5%)
CIE-LABlab(20.79, 40.38, -17.20)
CIE-LCHlch(20.79, 43.89, 336.93°)
OKLaboklab(33.43% 0.12 -0.0466)
OKLCHoklch(33.43% 0.129 338.8)
XYZxyz(5.9897, 3.1912, 7.1366)
Luminance0.0319 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D0F4C #0F5D20
analogous
#470F5D #5D0F4C #5D0F25
triadic
#5D0F4C #4C5D0F #0F4C5D
tetradic
#5D0F4C #5D470F #0F5D20 #0F255D
square
#5D0F4C #5D470F #0F5D20 #0F255D
split-complementary
#5D0F4C #255D0F #0F5D47
monochromatic
#1A0416 #280621 #5D0F4C #921777 #C620A2

Accessibility & contrast

On white

12.82
#5D0F4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D0F4C
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D0F4C#FFFFFF#000000##FFFFFF
##5D0F4C1.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142A4E
Deuteranopia (green-blind)
#2E364A
Tritanopia (blue-blind)
#63132D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5d0f4c;
/* rgb */ color: rgb(93, 15, 76);
/* oklch */ color: oklch(33.4% 0.129 338.8);
Tailwind
colors: {
  custom: {
    50: '#8e587e',
    500: '#5d0f4c',
    950: '#000000',
  },
}
SCSS
$custom: #5d0f4c;
$custom-light: #8e587e;
$custom-dark: #000000;
JSON
{
  "hex": "#5d0f4c",
  "rgb": {
    "r": 93,
    "g": 15,
    "b": 76
  },
  "hsl": {
    "h": 313.077,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.33431,
    "c": 0.12876,
    "h": 338.8
  },
  "luminance": 0.03191
}

Semantic roles & 50–950 ramp

primary
#5D0F4C
secondary
#319647
accent
#EF6139
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5D0F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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