#5D0F48#5D0F48

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

Color values

HEX#5D0F48
RGBrgb(93, 15, 72)
HSLhsl(316, 72%, 21%)
HSVhsv(316, 84%, 36%)
CMYKcmyk(0%, 83.9%, 22.6%, 63.5%)
CIE-LABlab(20.59, 39.77, -14.79)
CIE-LCHlch(20.59, 42.43, 339.60°)
OKLaboklab(33.21% 0.1195 -0.0398)
OKLCHoklch(33.21% 0.126 341.6)
XYZxyz(5.8549, 3.1373, 6.4269)
Luminance0.0314 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D0F48 #0F5D24
analogous
#4B0F5D #5D0F48 #5D0F21
triadic
#5D0F48 #485D0F #0F485D
tetradic
#5D0F48 #5D4B0F #0F5D24 #0F215D
square
#5D0F48 #5D4B0F #0F5D24 #0F215D
split-complementary
#5D0F48 #215D0F #0F5D4B
monochromatic
#1A0414 #28061F #5D0F48 #921771 #C6209A

Accessibility & contrast

On white

12.90
#5D0F48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D0F48
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D0F48#FFFFFF#000000##FFFFFF
##5D0F481.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d0f48;
/* rgb */ color: rgb(93, 15, 72);
/* oklch */ color: oklch(33.2% 0.126 341.6);
Tailwind
colors: {
  custom: {
    50: '#8e587b',
    500: '#5d0f48',
    950: '#000000',
  },
}
SCSS
$custom: #5d0f48;
$custom-light: #8e587b;
$custom-dark: #000000;
JSON
{
  "hex": "#5d0f48",
  "rgb": {
    "r": 93,
    "g": 15,
    "b": 72
  },
  "hsl": {
    "h": 316.154,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.33213,
    "c": 0.12592,
    "h": 341.6
  },
  "luminance": 0.03137
}

Semantic roles & 50–950 ramp

primary
#5D0F48
secondary
#31964D
accent
#EF6A39
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5D0F48

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

Preview Lab → · Contrast checker → · Palette generator →

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