#5B114D#5B114D

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

Color values

HEX#5B114D
RGBrgb(91, 17, 77)
HSLhsl(311, 69%, 21%)
HSVhsv(311, 81%, 36%)
CMYKcmyk(0%, 81.3%, 15.4%, 64.3%)
CIE-LABlab(20.68, 39.36, -18.09)
CIE-LCHlch(20.68, 43.32, 335.32°)
OKLaboklab(33.29% 0.116 -0.0492)
OKLCHoklch(33.29% 0.126 337)
XYZxyz(5.8545, 3.1614, 7.3216)
Luminance0.0316 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B114D #115B1F
analogous
#44115B #5B114D #5B1128
triadic
#5B114D #4D5B11 #114D5B
tetradic
#5B114D #5B4411 #115B1F #11285B
square
#5B114D #5B4411 #115B1F #11285B
split-complementary
#5B114D #285B11 #115B44
monochromatic
#1A0516 #270721 #5B114D #8F1B79 #C224A4

Accessibility & contrast

On white

12.87
#5B114D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B114D
12.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B114D#FFFFFF#000000##FFFFFF
##5B114D1.0012.871.6312.87
#FFFFFF12.871.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132B4F
Deuteranopia (green-blind)
#2D364B
Tritanopia (blue-blind)
#60162E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5b114d;
/* rgb */ color: rgb(91, 17, 77);
/* oklch */ color: oklch(33.3% 0.126 337.0);
Tailwind
colors: {
  custom: {
    50: '#8c587f',
    500: '#5b114d',
    950: '#000000',
  },
}
SCSS
$custom: #5b114d;
$custom-light: #8c587f;
$custom-dark: #000000;
JSON
{
  "hex": "#5b114d",
  "rgb": {
    "r": 91,
    "g": 17,
    "b": 77
  },
  "hsl": {
    "h": 311.351,
    "s": 68.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.33292,
    "c": 0.12604,
    "h": 337
  },
  "luminance": 0.03161
}

Semantic roles & 50–950 ramp

primary
#5B114D
secondary
#349446
accent
#EB5E3C
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #5B114D

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

Preview Lab → · Contrast checker → · Palette generator →

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