#5B193E#5B193E

#5B193E is a dark, moderate pink. Relative luminance 0.033; OKLCH L 33.4% C 0.105 H 349.7°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#5B193E
RGBrgb(91, 25, 62)
HSLhsl(326, 57%, 23%)
HSVhsv(326, 73%, 36%)
CMYKcmyk(0%, 72.5%, 31.9%, 64.3%)
CIE-LABlab(21.09, 33.91, -7.18)
CIE-LCHlch(21.09, 34.66, 348.05°)
OKLaboklab(33.35% 0.1032 -0.0187)
OKLCHoklch(33.35% 0.105 349.7)
XYZxyz(5.5318, 3.2678, 4.8959)
Luminance0.0327 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B193E #195B36
analogous
#57195B #5B193E #5B191D
triadic
#5B193E #3E5B19 #193E5B
tetradic
#5B193E #5B5719 #195B36 #191D5B
square
#5B193E #5B5719 #195B36 #191D5B
split-complementary
#5B193E #1D5B19 #195B57
monochromatic
#180710 #2B0C1D #5B193E #8B265F #BB337F

Accessibility & contrast

On white

12.70
#5B193E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#5B193E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B193E
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B193E#FFFFFF#000000##FFFFFF
##5B193E1.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222B3F
Deuteranopia (green-blind)
#35373C
Tritanopia (blue-blind)
#621629
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5b193e;
/* rgb */ color: rgb(91, 25, 62);
/* oklch */ color: oklch(33.4% 0.105 349.7);
Tailwind
colors: {
  custom: {
    50: '#8c5b73',
    500: '#5b193e',
    950: '#000000',
  },
}
SCSS
$custom: #5b193e;
$custom-light: #8c5b73;
$custom-dark: #000000;
JSON
{
  "hex": "#5b193e",
  "rgb": {
    "r": 91,
    "g": 25,
    "b": 62
  },
  "hsl": {
    "h": 326.364,
    "s": 56.897,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33353,
    "c": 0.10491,
    "h": 349.7
  },
  "luminance": 0.03267
}

Semantic roles & 50–950 ramp

primary
#5B193E
secondary
#3F9163
accent
#E08B48
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0C0408
muted
#7D797B

Preview Lab

Preview with #5B193E

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

Preview Lab → · Contrast checker → · Palette generator →

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