#5D114F#5D114F

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

Color values

HEX#5D114F
RGBrgb(93, 17, 79)
HSLhsl(311, 69%, 22%)
HSVhsv(311, 82%, 36%)
CMYKcmyk(0%, 81.7%, 15.1%, 63.5%)
CIE-LABlab(21.18, 40.21, -18.63)
CIE-LCHlch(21.18, 44.31, 335.14°)
OKLaboklab(33.76% 0.1184 -0.0508)
OKLCHoklch(33.76% 0.129 336.8)
XYZxyz(6.1260, 3.2931, 7.7086)
Luminance0.0329 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D114F #115D1F
analogous
#45115D #5D114F #5D1129
triadic
#5D114F #4F5D11 #114F5D
tetradic
#5D114F #5D4511 #115D1F #11295D
square
#5D114F #5D4511 #115D1F #11295D
split-complementary
#5D114F #295D11 #115D45
monochromatic
#1A0516 #290823 #5D114F #911A7B #C424A7

Accessibility & contrast

On white

12.66
#5D114F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D114F
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D114F#FFFFFF#000000##FFFFFF
##5D114F1.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132C51
Deuteranopia (green-blind)
#2E374D
Tritanopia (blue-blind)
#62162F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5d114f;
/* rgb */ color: rgb(93, 17, 79);
/* oklch */ color: oklch(33.8% 0.129 336.8);
Tailwind
colors: {
  custom: {
    50: '#8e5980',
    500: '#5d114f',
    950: '#000000',
  },
}
SCSS
$custom: #5d114f;
$custom-light: #8e5980;
$custom-dark: #000000;
JSON
{
  "hex": "#5d114f",
  "rgb": {
    "r": 93,
    "g": 17,
    "b": 79
  },
  "hsl": {
    "h": 311.053,
    "s": 69.091,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33763,
    "c": 0.12883,
    "h": 336.8
  },
  "luminance": 0.03293
}

Semantic roles & 50–950 ramp

primary
#5D114F
secondary
#349646
accent
#EC5C3C
background
#F9F5F7
surface
#F1E9EE
border
#CBC5C9
text
#0D040A
muted
#7E797C

Preview Lab

Preview with #5D114F

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

Preview Lab → · Contrast checker → · Palette generator →

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