#5D0E47#5D0E47

#5D0E47 is a dark, vivid pink. Relative luminance 0.031; OKLCH L 33.1% C 0.126 H 342.2°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#5D0E47
RGBrgb(93, 14, 71)
HSLhsl(317, 74%, 21%)
HSVhsv(317, 85%, 36%)
CMYKcmyk(0%, 84.9%, 23.7%, 63.5%)
CIE-LABlab(20.43, 39.93, -14.35)
CIE-LCHlch(20.43, 42.43, 340.23°)
OKLaboklab(33.08% 0.1202 -0.0386)
OKLCHoklch(33.08% 0.126 342.2)
XYZxyz(5.8088, 3.0968, 6.2518)
Luminance0.0310 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D0E47 #0E5D24
analogous
#4B0E5D #5D0E47 #5D0E1F
triadic
#5D0E47 #475D0E #0E475D
tetradic
#5D0E47 #5D4B0E #0E5D24 #0E1F5D
square
#5D0E47 #5D4B0E #0E5D24 #0E1F5D
split-complementary
#5D0E47 #1F5D0E #0E5D4B
monochromatic
#1B0414 #28061E #5D0E47 #921670 #C71E98

Accessibility & contrast

On white

12.97
#5D0E47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#5D0E47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D0E47
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D0E47#FFFFFF#000000##FFFFFF
##5D0E471.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172948
Deuteranopia (green-blind)
#303645
Tritanopia (blue-blind)
#630F2A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5d0e47;
/* rgb */ color: rgb(93, 14, 71);
/* oklch */ color: oklch(33.1% 0.126 342.2);
Tailwind
colors: {
  custom: {
    50: '#8e577a',
    500: '#5d0e47',
    950: '#000000',
  },
}
SCSS
$custom: #5d0e47;
$custom-light: #8e577a;
$custom-dark: #000000;
JSON
{
  "hex": "#5d0e47",
  "rgb": {
    "r": 93,
    "g": 14,
    "b": 71
  },
  "hsl": {
    "h": 316.709,
    "s": 73.832,
    "l": 20.98
  },
  "oklch": {
    "l": 0.33083,
    "c": 0.12627,
    "h": 342.2
  },
  "luminance": 0.03096
}

Semantic roles & 50–950 ramp

primary
#5D0E47
secondary
#30974D
accent
#F06B37
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5D0E47

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

Preview Lab → · Contrast checker → · Palette generator →

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