#5D0E40#5D0E40

#5D0E40 is a dark, vivid pink. Relative luminance 0.030; OKLCH L 32.7% C 0.122 H 347.4°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#5D0E40
RGBrgb(93, 14, 64)
HSLhsl(322, 74%, 21%)
HSVhsv(322, 85%, 36%)
CMYKcmyk(0%, 84.9%, 31.2%, 63.5%)
CIE-LABlab(20.09, 38.96, -10.04)
CIE-LCHlch(20.09, 40.23, 345.55°)
OKLaboklab(32.73% 0.1188 -0.0265)
OKLCHoklch(32.73% 0.122 347.4)
XYZxyz(5.5969, 3.0120, 5.1361)
Luminance0.0301 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D0E40 #0E5D2B
analogous
#520E5D #5D0E40 #5D0E18
triadic
#5D0E40 #405D0E #0E405D
tetradic
#5D0E40 #5D520E #0E5D2B #0E185D
square
#5D0E40 #5D520E #0E5D2B #0E185D
split-complementary
#5D0E40 #185D0E #0E5D52
monochromatic
#1B0412 #28061B #5D0E40 #921665 #C71E89

Accessibility & contrast

On white

13.11
#5D0E40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#5D0E40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D0E40
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D0E40#FFFFFF#000000##FFFFFF
##5D0E401.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2841
Deuteranopia (green-blind)
#32353E
Tritanopia (blue-blind)
#640A26
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5d0e40;
/* rgb */ color: rgb(93, 14, 64);
/* oklch */ color: oklch(32.7% 0.122 347.4);
Tailwind
colors: {
  custom: {
    50: '#8e5774',
    500: '#5d0e40',
    950: '#000000',
  },
}
SCSS
$custom: #5d0e40;
$custom-light: #8e5774;
$custom-dark: #000000;
JSON
{
  "hex": "#5d0e40",
  "rgb": {
    "r": 93,
    "g": 14,
    "b": 64
  },
  "hsl": {
    "h": 322.025,
    "s": 73.832,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32731,
    "c": 0.12175,
    "h": 347.4
  },
  "luminance": 0.03011
}

Semantic roles & 50–950 ramp

primary
#5D0E40
secondary
#309756
accent
#F07B37
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5D0E40

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

Preview Lab → · Contrast checker → · Palette generator →

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