#5D0F4F#5D0F4F

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

Color values

HEX#5D0F4F
RGBrgb(93, 15, 79)
HSLhsl(311, 72%, 21%)
HSVhsv(311, 84%, 36%)
CMYKcmyk(0%, 83.9%, 15.1%, 63.5%)
CIE-LABlab(20.96, 40.85, -18.98)
CIE-LCHlch(20.96, 45.04, 335.07°)
OKLaboklab(33.6% 0.1203 -0.0517)
OKLCHoklch(33.6% 0.131 336.7)
XYZxyz(6.0964, 3.2339, 7.6988)
Luminance0.0323 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D0F4F #0F5D1D
analogous
#440F5D #5D0F4F #5D0F28
triadic
#5D0F4F #4F5D0F #0F4F5D
tetradic
#5D0F4F #5D440F #0F5D1D #0F285D
square
#5D0F4F #5D440F #0F5D1D #0F285D
split-complementary
#5D0F4F #285D0F #0F5D44
monochromatic
#1A0416 #280622 #5D0F4F #92177C #C620A9

Accessibility & contrast

On white

12.75
#5D0F4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#5D0F4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D0F4F
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D0F4F#FFFFFF#000000##FFFFFF
##5D0F4F1.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112B51
Deuteranopia (green-blind)
#2D374D
Tritanopia (blue-blind)
#62152E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5d0f4f;
/* rgb */ color: rgb(93, 15, 79);
/* oklch */ color: oklch(33.6% 0.131 336.7);
Tailwind
colors: {
  custom: {
    50: '#8e5880',
    500: '#5d0f4f',
    950: '#000000',
  },
}
SCSS
$custom: #5d0f4f;
$custom-light: #8e5880;
$custom-dark: #000000;
JSON
{
  "hex": "#5d0f4f",
  "rgb": {
    "r": 93,
    "g": 15,
    "b": 79
  },
  "hsl": {
    "h": 310.769,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.33602,
    "c": 0.13099,
    "h": 336.7
  },
  "luminance": 0.03233
}

Semantic roles & 50–950 ramp

primary
#5D0F4F
secondary
#319644
accent
#EF5A39
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5D0F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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