#5D1850#5D1850

#5D1850 is a dark, vivid pink. Relative luminance 0.036; OKLCH L 34.5% C 0.121 H 336.4°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#5D1850
RGBrgb(93, 24, 80)
HSLhsl(311, 59%, 23%)
HSVhsv(311, 74%, 36%)
CMYKcmyk(0%, 74.2%, 14%, 63.5%)
CIE-LABlab(22.16, 37.75, -17.78)
CIE-LCHlch(22.16, 41.72, 334.78°)
OKLaboklab(34.49% 0.1107 -0.0484)
OKLCHoklch(34.49% 0.121 336.4)
XYZxyz(6.2889, 3.5602, 7.9438)
Luminance0.0356 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1850 #185D25
analogous
#47185D #5D1850 #5D182E
triadic
#5D1850 #505D18 #18505D
tetradic
#5D1850 #5D4718 #185D25 #182E5D
square
#5D1850 #5D4718 #185D25 #182E5D
split-complementary
#5D1850 #2E5D18 #185D47
monochromatic
#180615 #2C0B26 #5D1850 #8E257A #BE31A4

Accessibility & contrast

On white

12.27
#5D1850 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#5D1850 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1850
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1850#FFFFFF#000000##FFFFFF
##5D18501.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192E52
Deuteranopia (green-blind)
#30394E
Tritanopia (blue-blind)
#621C31
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5d1850;
/* rgb */ color: rgb(93, 24, 80);
/* oklch */ color: oklch(34.5% 0.121 336.4);
Tailwind
colors: {
  custom: {
    50: '#8e5c81',
    500: '#5d1850',
    950: '#000000',
  },
}
SCSS
$custom: #5d1850;
$custom-light: #8e5c81;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1850",
  "rgb": {
    "r": 93,
    "g": 24,
    "b": 80
  },
  "hsl": {
    "h": 311.304,
    "s": 58.974,
    "l": 22.941
  },
  "oklch": {
    "l": 0.34488,
    "c": 0.12081,
    "h": 336.4
  },
  "luminance": 0.0356
}

Semantic roles & 50–950 ramp

primary
#5D1850
secondary
#3D934E
accent
#E26346
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0D040A
muted
#7D797C

Preview Lab

Preview with #5D1850

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

Preview Lab → · Contrast checker → · Palette generator →

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