#5D1048#5D1048

#5D1048 is a dark, vivid pink. Relative luminance 0.032; OKLCH L 33.3% C 0.125 H 341.6°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#5D1048
RGBrgb(93, 16, 72)
HSLhsl(316, 71%, 21%)
HSVhsv(316, 83%, 36%)
CMYKcmyk(0%, 82.8%, 22.6%, 63.5%)
CIE-LABlab(20.70, 39.45, -14.62)
CIE-LCHlch(20.70, 42.07, 339.67°)
OKLaboklab(33.29% 0.1185 -0.0393)
OKLCHoklch(33.29% 0.125 341.6)
XYZxyz(5.8694, 3.1662, 6.4317)
Luminance0.0317 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1048 #105D25
analogous
#4C105D #5D1048 #5D1022
triadic
#5D1048 #485D10 #10485D
tetradic
#5D1048 #5D4C10 #105D25 #10225D
square
#5D1048 #5D4C10 #105D25 #10225D
split-complementary
#5D1048 #225D10 #105D4C
monochromatic
#1A0414 #290720 #5D1048 #911970 #C52299

Accessibility & contrast

On white

12.86
#5D1048 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#5D1048 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1048
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1048#FFFFFF#000000##FFFFFF
##5D10481.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#172A49
Deuteranopia (green-blind)
#303646
Tritanopia (blue-blind)
#63112B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5d1048;
/* rgb */ color: rgb(93, 16, 72);
/* oklch */ color: oklch(33.3% 0.125 341.6);
Tailwind
colors: {
  custom: {
    50: '#8e587b',
    500: '#5d1048',
    950: '#000000',
  },
}
SCSS
$custom: #5d1048;
$custom-light: #8e587b;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1048",
  "rgb": {
    "r": 93,
    "g": 16,
    "b": 72
  },
  "hsl": {
    "h": 316.364,
    "s": 70.642,
    "l": 21.373
  },
  "oklch": {
    "l": 0.33294,
    "c": 0.12483,
    "h": 341.6
  },
  "luminance": 0.03166
}

Semantic roles & 50–950 ramp

primary
#5D1048
secondary
#33964E
accent
#ED6B3A
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5D1048

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

Preview Lab → · Contrast checker → · Palette generator →

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