#5D1146#5D1146

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

Color values

HEX#5D1146
RGBrgb(93, 17, 70)
HSLhsl(318, 69%, 22%)
HSVhsv(318, 82%, 36%)
CMYKcmyk(0%, 81.7%, 24.7%, 63.5%)
CIE-LABlab(20.72, 38.82, -13.22)
CIE-LCHlch(20.72, 41.01, 341.20°)
OKLaboklab(33.28% 0.1171 -0.0354)
OKLCHoklch(33.28% 0.122 343.2)
XYZxyz(5.8204, 3.1709, 6.0987)
Luminance0.0317 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1146 #115D28
analogous
#4E115D #5D1146 #5D1120
triadic
#5D1146 #465D11 #11465D
tetradic
#5D1146 #5D4E11 #115D28 #11205D
square
#5D1146 #5D4E11 #115D28 #11205D
split-complementary
#5D1146 #205D11 #115D4E
monochromatic
#1A0513 #29081F #5D1146 #911A6D #C42494

Accessibility & contrast

On white

12.85
#5D1146 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D1146
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1146#FFFFFF#000000##FFFFFF
##5D11461.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192A47
Deuteranopia (green-blind)
#313644
Tritanopia (blue-blind)
#63112A
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5d1146;
/* rgb */ color: rgb(93, 17, 70);
/* oklch */ color: oklch(33.3% 0.122 343.2);
Tailwind
colors: {
  custom: {
    50: '#8e5879',
    500: '#5d1146',
    950: '#000000',
  },
}
SCSS
$custom: #5d1146;
$custom-light: #8e5879;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1146",
  "rgb": {
    "r": 93,
    "g": 17,
    "b": 70
  },
  "hsl": {
    "h": 318.158,
    "s": 69.091,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33275,
    "c": 0.12232,
    "h": 343.2
  },
  "luminance": 0.0317
}

Semantic roles & 50–950 ramp

primary
#5D1146
secondary
#349652
accent
#EC713C
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5D1146

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

Preview Lab → · Contrast checker → · Palette generator →

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