#5B194D#5B194D

#5B194D is a dark, moderate pink. Relative luminance 0.035; OKLCH L 34.1% C 0.116 H 337.4°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#5B194D
RGBrgb(91, 25, 77)
HSLhsl(313, 57%, 23%)
HSVhsv(313, 73%, 36%)
CMYKcmyk(0%, 72.5%, 15.4%, 64.3%)
CIE-LABlab(21.78, 36.24, -16.37)
CIE-LCHlch(21.78, 39.77, 335.70°)
OKLaboklab(34.09% 0.1067 -0.0444)
OKLCHoklch(34.09% 0.116 337.4)
XYZxyz(6.0017, 3.4558, 7.3707)
Luminance0.0345 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B194D #195B27
analogous
#48195B #5B194D #5B192C
triadic
#5B194D #4D5B19 #194D5B
tetradic
#5B194D #5B4819 #195B27 #192C5B
square
#5B194D #5B4819 #195B27 #192C5B
split-complementary
#5B194D #2C5B19 #195B48
monochromatic
#180714 #2B0C24 #5B194D #8B2676 #BB339E

Accessibility & contrast

On white

12.42
#5B194D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#5B194D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B194D
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B194D#FFFFFF#000000##FFFFFF
##5B194D1.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2E4F
Deuteranopia (green-blind)
#30384B
Tritanopia (blue-blind)
#601C30
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5b194d;
/* rgb */ color: rgb(91, 25, 77);
/* oklch */ color: oklch(34.1% 0.116 337.4);
Tailwind
colors: {
  custom: {
    50: '#8c5c7f',
    500: '#5b194d',
    950: '#000000',
  },
}
SCSS
$custom: #5b194d;
$custom-light: #8c5c7f;
$custom-dark: #000000;
JSON
{
  "hex": "#5b194d",
  "rgb": {
    "r": 91,
    "g": 25,
    "b": 77
  },
  "hsl": {
    "h": 312.727,
    "s": 56.897,
    "l": 22.745
  },
  "oklch": {
    "l": 0.34092,
    "c": 0.11557,
    "h": 337.4
  },
  "luminance": 0.03455
}

Semantic roles & 50–950 ramp

primary
#5B194D
secondary
#3F9150
accent
#E06848
background
#F8F5F7
surface
#F0E9EE
border
#CBC5C9
text
#0C040A
muted
#7D797C

Preview Lab

Preview with #5B194D

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

Preview Lab → · Contrast checker → · Palette generator →

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