#5D0F42#5D0F42

#5D0F42 is a dark, vivid pink. Relative luminance 0.031; OKLCH L 32.9% C 0.122 H 346.0°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#5D0F42
RGBrgb(93, 15, 66)
HSLhsl(321, 72%, 21%)
HSVhsv(321, 84%, 36%)
CMYKcmyk(0%, 83.9%, 29%, 63.5%)
CIE-LABlab(20.29, 38.91, -11.11)
CIE-LCHlch(20.29, 40.47, 344.06°)
OKLaboklab(32.91% 0.1183 -0.0295)
OKLCHoklch(32.91% 0.122 346)
XYZxyz(5.6687, 3.0628, 5.4459)
Luminance0.0306 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D0F42 #0F5D2A
analogous
#510F5D #5D0F42 #5D0F1B
triadic
#5D0F42 #425D0F #0F425D
tetradic
#5D0F42 #5D510F #0F5D2A #0F1B5D
square
#5D0F42 #5D510F #0F5D2A #0F1B5D
split-complementary
#5D0F42 #1B5D0F #0F5D51
monochromatic
#1A0413 #28061D #5D0F42 #921767 #C6208D

Accessibility & contrast

On white

13.02
#5D0F42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D0F42
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D0F42#FFFFFF#000000##FFFFFF
##5D0F421.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2943
Deuteranopia (green-blind)
#323640
Tritanopia (blue-blind)
#640D27
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5d0f42;
/* rgb */ color: rgb(93, 15, 66);
/* oklch */ color: oklch(32.9% 0.122 346.0);
Tailwind
colors: {
  custom: {
    50: '#8e5776',
    500: '#5d0f42',
    950: '#000000',
  },
}
SCSS
$custom: #5d0f42;
$custom-light: #8e5776;
$custom-dark: #000000;
JSON
{
  "hex": "#5d0f42",
  "rgb": {
    "r": 93,
    "g": 15,
    "b": 66
  },
  "hsl": {
    "h": 320.769,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32907,
    "c": 0.12193,
    "h": 346
  },
  "luminance": 0.03062
}

Semantic roles & 50–950 ramp

primary
#5D0F42
secondary
#319654
accent
#EF7839
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5D0F42

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

Preview Lab → · Contrast checker → · Palette generator →

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