#5D0F47#5D0F47

#5D0F47 is a dark, vivid pink. Relative luminance 0.031; OKLCH L 33.2% C 0.125 H 342.3°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#5D0F47
RGBrgb(93, 15, 71)
HSLhsl(317, 72%, 21%)
HSVhsv(317, 84%, 36%)
CMYKcmyk(0%, 83.9%, 23.7%, 63.5%)
CIE-LABlab(20.54, 39.62, -14.18)
CIE-LCHlch(20.54, 42.09, 340.30°)
OKLaboklab(33.16% 0.1193 -0.0381)
OKLCHoklch(33.16% 0.125 342.3)
XYZxyz(5.8226, 3.1244, 6.2564)
Luminance0.0312 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D0F47 #0F5D25
analogous
#4C0F5D #5D0F47 #5D0F20
triadic
#5D0F47 #475D0F #0F475D
tetradic
#5D0F47 #5D4C0F #0F5D25 #0F205D
square
#5D0F47 #5D4C0F #0F5D25 #0F205D
split-complementary
#5D0F47 #205D0F #0F5D4C
monochromatic
#1A0414 #28061F #5D0F47 #92176F #C62097

Accessibility & contrast

On white

12.92
#5D0F47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D0F47
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D0F47#FFFFFF#000000##FFFFFF
##5D0F471.0012.921.6212.92
#FFFFFF12.921.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d0f47;
/* rgb */ color: rgb(93, 15, 71);
/* oklch */ color: oklch(33.2% 0.125 342.3);
Tailwind
colors: {
  custom: {
    50: '#8e587a',
    500: '#5d0f47',
    950: '#000000',
  },
}
SCSS
$custom: #5d0f47;
$custom-light: #8e587a;
$custom-dark: #000000;
JSON
{
  "hex": "#5d0f47",
  "rgb": {
    "r": 93,
    "g": 15,
    "b": 71
  },
  "hsl": {
    "h": 316.923,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.33161,
    "c": 0.12523,
    "h": 342.3
  },
  "luminance": 0.03124
}

Semantic roles & 50–950 ramp

primary
#5D0F47
secondary
#31964E
accent
#EF6C39
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5D0F47

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

Preview Lab → · Contrast checker → · Palette generator →

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