#5D0F50#5D0F50

#5D0F50 is a dark, vivid pink. Relative luminance 0.032; OKLCH L 33.7% C 0.132 H 336.1°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#5D0F50
RGBrgb(93, 15, 80)
HSLhsl(310, 72%, 21%)
HSVhsv(310, 84%, 36%)
CMYKcmyk(0%, 83.9%, 14%, 63.5%)
CIE-LABlab(21.01, 41.01, -19.57)
CIE-LCHlch(21.01, 45.44, 334.49°)
OKLaboklab(33.66% 0.1204 -0.0534)
OKLCHoklch(33.66% 0.132 336.1)
XYZxyz(6.1331, 3.2486, 7.8919)
Luminance0.0325 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D0F50 #0F5D1C
analogous
#430F5D #5D0F50 #5D0F29
triadic
#5D0F50 #505D0F #0F505D
tetradic
#5D0F50 #5D430F #0F5D1C #0F295D
square
#5D0F50 #5D430F #0F5D1C #0F295D
split-complementary
#5D0F50 #295D0F #0F5D43
monochromatic
#1A0417 #280623 #5D0F50 #92177D #C620AB

Accessibility & contrast

On white

12.73
#5D0F50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D0F50
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D0F50#FFFFFF#000000##FFFFFF
##5D0F501.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102B52
Deuteranopia (green-blind)
#2D374E
Tritanopia (blue-blind)
#62152F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5d0f50;
/* rgb */ color: rgb(93, 15, 80);
/* oklch */ color: oklch(33.7% 0.132 336.1);
Tailwind
colors: {
  custom: {
    50: '#8e5881',
    500: '#5d0f50',
    950: '#000000',
  },
}
SCSS
$custom: #5d0f50;
$custom-light: #8e5881;
$custom-dark: #000000;
JSON
{
  "hex": "#5d0f50",
  "rgb": {
    "r": 93,
    "g": 15,
    "b": 80
  },
  "hsl": {
    "h": 310,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.3366,
    "c": 0.13174,
    "h": 336.1
  },
  "luminance": 0.03248
}

Semantic roles & 50–950 ramp

primary
#5D0F50
secondary
#319642
accent
#EF5739
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5D0F50

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

Preview Lab → · Contrast checker → · Palette generator →

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