#5D0F4B#5D0F4B

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

Color values

HEX#5D0F4B
RGBrgb(93, 15, 75)
HSLhsl(314, 72%, 21%)
HSVhsv(314, 84%, 36%)
CMYKcmyk(0%, 83.9%, 19.4%, 63.5%)
CIE-LABlab(20.74, 40.22, -16.60)
CIE-LCHlch(20.74, 43.52, 337.57°)
OKLaboklab(33.38% 0.1199 -0.0449)
OKLCHoklch(33.38% 0.128 339.5)
XYZxyz(5.9552, 3.1774, 6.9549)
Luminance0.0318 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D0F4B #0F5D21
analogous
#480F5D #5D0F4B #5D0F24
triadic
#5D0F4B #4B5D0F #0F4B5D
tetradic
#5D0F4B #5D480F #0F5D21 #0F245D
square
#5D0F4B #5D480F #0F5D21 #0F245D
split-complementary
#5D0F4B #245D0F #0F5D48
monochromatic
#1A0415 #280620 #5D0F4B #921775 #C620A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D0F4B#FFFFFF#000000##FFFFFF
##5D0F4B1.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)
#152A4D
Deuteranopia (green-blind)
#2F3649
Tritanopia (blue-blind)
#63122C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5d0f4b;
/* rgb */ color: rgb(93, 15, 75);
/* oklch */ color: oklch(33.4% 0.128 339.5);
Tailwind
colors: {
  custom: {
    50: '#8e587d',
    500: '#5d0f4b',
    950: '#000000',
  },
}
SCSS
$custom: #5d0f4b;
$custom-light: #8e587d;
$custom-dark: #000000;
JSON
{
  "hex": "#5d0f4b",
  "rgb": {
    "r": 93,
    "g": 15,
    "b": 75
  },
  "hsl": {
    "h": 313.846,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.33376,
    "c": 0.12804,
    "h": 339.5
  },
  "luminance": 0.03177
}

Semantic roles & 50–950 ramp

primary
#5D0F4B
secondary
#319649
accent
#EF6339
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5D0F4B

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

Preview Lab → · Contrast checker → · Palette generator →

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