#5D1247#5D1247

#5D1247 is a dark, vivid pink. Relative luminance 0.032; OKLCH L 33.4% C 0.122 H 342.5°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#5D1247
RGBrgb(93, 18, 71)
HSLhsl(318, 68%, 22%)
HSVhsv(318, 81%, 36%)
CMYKcmyk(0%, 80.6%, 23.7%, 63.5%)
CIE-LABlab(20.89, 38.62, -13.64)
CIE-LCHlch(20.89, 40.96, 340.55°)
OKLaboklab(33.42% 0.1162 -0.0366)
OKLCHoklch(33.42% 0.122 342.5)
XYZxyz(5.8680, 3.2153, 6.2716)
Luminance0.0321 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1247 #125D28
analogous
#4E125D #5D1247 #5D1222
triadic
#5D1247 #475D12 #12475D
tetradic
#5D1247 #5D4E12 #125D28 #12225D
square
#5D1247 #5D4E12 #125D28 #12225D
split-complementary
#5D1247 #225D12 #125D4E
monochromatic
#1A0514 #2A0820 #5D1247 #901C6E #C42695

Accessibility & contrast

On white

12.78
#5D1247 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#5D1247 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1247
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1247#FFFFFF#000000##FFFFFF
##5D12471.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2A48
Deuteranopia (green-blind)
#313745
Tritanopia (blue-blind)
#63132B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5d1247;
/* rgb */ color: rgb(93, 18, 71);
/* oklch */ color: oklch(33.4% 0.122 342.5);
Tailwind
colors: {
  custom: {
    50: '#8e597a',
    500: '#5d1247',
    950: '#000000',
  },
}
SCSS
$custom: #5d1247;
$custom-light: #8e597a;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1247",
  "rgb": {
    "r": 93,
    "g": 18,
    "b": 71
  },
  "hsl": {
    "h": 317.6,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.33415,
    "c": 0.12184,
    "h": 342.5
  },
  "luminance": 0.03215
}

Semantic roles & 50–950 ramp

primary
#5D1247
secondary
#359552
accent
#EA703D
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5D1247

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

Preview Lab → · Contrast checker → · Palette generator →

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