#5D0F46#5D0F46

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

Color values

HEX#5D0F46
RGBrgb(93, 15, 70)
HSLhsl(318, 72%, 21%)
HSVhsv(318, 84%, 36%)
CMYKcmyk(0%, 83.9%, 24.7%, 63.5%)
CIE-LABlab(20.49, 39.48, -13.58)
CIE-LCHlch(20.49, 41.75, 341.02°)
OKLaboklab(33.11% 0.1191 -0.0364)
OKLCHoklch(33.11% 0.125 343)
XYZxyz(5.7907, 3.1116, 6.0888)
Luminance0.0311 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D0F46 #0F5D26
analogous
#4D0F5D #5D0F46 #5D0F1F
triadic
#5D0F46 #465D0F #0F465D
tetradic
#5D0F46 #5D4D0F #0F5D26 #0F1F5D
square
#5D0F46 #5D4D0F #0F5D26 #0F1F5D
split-complementary
#5D0F46 #1F5D0F #0F5D4D
monochromatic
#1A0414 #28061E #5D0F46 #92176E #C62095

Accessibility & contrast

On white

12.95
#5D0F46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D0F46
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D0F46#FFFFFF#000000##FFFFFF
##5D0F461.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#182947
Deuteranopia (green-blind)
#313644
Tritanopia (blue-blind)
#640F29
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5d0f46;
/* rgb */ color: rgb(93, 15, 70);
/* oklch */ color: oklch(33.1% 0.125 343.0);
Tailwind
colors: {
  custom: {
    50: '#8e5879',
    500: '#5d0f46',
    950: '#000000',
  },
}
SCSS
$custom: #5d0f46;
$custom-light: #8e5879;
$custom-dark: #000000;
JSON
{
  "hex": "#5d0f46",
  "rgb": {
    "r": 93,
    "g": 15,
    "b": 70
  },
  "hsl": {
    "h": 317.692,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.33108,
    "c": 0.12454,
    "h": 343
  },
  "luminance": 0.03111
}

Semantic roles & 50–950 ramp

primary
#5D0F46
secondary
#31964F
accent
#EF6F39
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5D0F46

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

Preview Lab → · Contrast checker → · Palette generator →

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