#5D1150#5D1150

#5D1150 is a dark, vivid pink. Relative luminance 0.033; OKLCH L 33.8% C 0.130 H 336.1°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#5D1150
RGBrgb(93, 17, 80)
HSLhsl(310, 69%, 22%)
HSVhsv(310, 82%, 36%)
CMYKcmyk(0%, 81.7%, 14%, 63.5%)
CIE-LABlab(21.24, 40.37, -19.22)
CIE-LCHlch(21.24, 44.71, 334.54°)
OKLaboklab(33.82% 0.1185 -0.0524)
OKLCHoklch(33.82% 0.13 336.1)
XYZxyz(6.1627, 3.3078, 7.9018)
Luminance0.0331 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1150 #115D1E
analogous
#44115D #5D1150 #5D112A
triadic
#5D1150 #505D11 #11505D
tetradic
#5D1150 #5D4411 #115D1E #112A5D
square
#5D1150 #5D4411 #115D1E #112A5D
split-complementary
#5D1150 #2A5D11 #115D44
monochromatic
#1A0516 #290823 #5D1150 #911A7D #C424A9

Accessibility & contrast

On white

12.64
#5D1150 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#5D1150 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1150
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1150#FFFFFF#000000##FFFFFF
##5D11501.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122C52
Deuteranopia (green-blind)
#2D374E
Tritanopia (blue-blind)
#62172F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5d1150;
/* rgb */ color: rgb(93, 17, 80);
/* oklch */ color: oklch(33.8% 0.130 336.1);
Tailwind
colors: {
  custom: {
    50: '#8e5981',
    500: '#5d1150',
    950: '#000000',
  },
}
SCSS
$custom: #5d1150;
$custom-light: #8e5981;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1150",
  "rgb": {
    "r": 93,
    "g": 17,
    "b": 80
  },
  "hsl": {
    "h": 310.263,
    "s": 69.091,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33821,
    "c": 0.12959,
    "h": 336.1
  },
  "luminance": 0.03307
}

Semantic roles & 50–950 ramp

primary
#5D1150
secondary
#349645
accent
#EC5A3C
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5D1150

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

Preview Lab → · Contrast checker → · Palette generator →

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