#5D0E42#5D0E42

#5D0E42 is a dark, vivid pink. Relative luminance 0.030; OKLCH L 32.8% C 0.123 H 345.9°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#5D0E42
RGBrgb(93, 14, 66)
HSLhsl(321, 74%, 21%)
HSVhsv(321, 85%, 36%)
CMYKcmyk(0%, 84.9%, 29%, 63.5%)
CIE-LABlab(20.18, 39.23, -11.28)
CIE-LCHlch(20.18, 40.82, 343.96°)
OKLaboklab(32.83% 0.1193 -0.0299)
OKLCHoklch(32.83% 0.123 345.9)
XYZxyz(5.6549, 3.0352, 5.4413)
Luminance0.0303 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D0E42 #0E5D29
analogous
#500E5D #5D0E42 #5D0E1A
triadic
#5D0E42 #425D0E #0E425D
tetradic
#5D0E42 #5D500E #0E5D29 #0E1A5D
square
#5D0E42 #5D500E #0E5D29 #0E1A5D
split-complementary
#5D0E42 #1A5D0E #0E5D50
monochromatic
#1B0413 #28061C #5D0E42 #921668 #C71E8D

Accessibility & contrast

On white

13.07
#5D0E42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#5D0E42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D0E42
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D0E42#FFFFFF#000000##FFFFFF
##5D0E421.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2843
Deuteranopia (green-blind)
#323540
Tritanopia (blue-blind)
#640C27
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5d0e42;
/* rgb */ color: rgb(93, 14, 66);
/* oklch */ color: oklch(32.8% 0.123 345.9);
Tailwind
colors: {
  custom: {
    50: '#8e5776',
    500: '#5d0e42',
    950: '#000000',
  },
}
SCSS
$custom: #5d0e42;
$custom-light: #8e5776;
$custom-dark: #000000;
JSON
{
  "hex": "#5d0e42",
  "rgb": {
    "r": 93,
    "g": 14,
    "b": 66
  },
  "hsl": {
    "h": 320.506,
    "s": 73.832,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32828,
    "c": 0.12298,
    "h": 345.9
  },
  "luminance": 0.03035
}

Semantic roles & 50–950 ramp

primary
#5D0E42
secondary
#309753
accent
#F07737
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5D0E42

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

Preview Lab → · Contrast checker → · Palette generator →

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