#5B193F#5B193F

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

Color values

HEX#5B193F
RGBrgb(91, 25, 63)
HSLhsl(325, 57%, 23%)
HSVhsv(325, 73%, 36%)
CMYKcmyk(0%, 72.5%, 30.8%, 64.3%)
CIE-LABlab(21.13, 34.06, -7.81)
CIE-LCHlch(21.13, 34.94, 347.09°)
OKLaboklab(33.4% 0.1035 -0.0204)
OKLCHoklch(33.4% 0.106 348.8)
XYZxyz(5.5595, 3.2789, 5.0418)
Luminance0.0328 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B193F #195B35
analogous
#56195B #5B193F #5B191E
triadic
#5B193F #3F5B19 #193F5B
tetradic
#5B193F #5B5619 #195B35 #191E5B
square
#5B193F #5B5619 #195B35 #191E5B
split-complementary
#5B193F #1E5B19 #195B56
monochromatic
#180711 #2B0C1E #5B193F #8B2660 #BB3381

Accessibility & contrast

On white

12.68
#5B193F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B193F
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B193F#FFFFFF#000000##FFFFFF
##5B193F1.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b193f;
/* rgb */ color: rgb(91, 25, 63);
/* oklch */ color: oklch(33.4% 0.106 348.8);
Tailwind
colors: {
  custom: {
    50: '#8c5b74',
    500: '#5b193f',
    950: '#000000',
  },
}
SCSS
$custom: #5b193f;
$custom-light: #8c5b74;
$custom-dark: #000000;
JSON
{
  "hex": "#5b193f",
  "rgb": {
    "r": 91,
    "g": 25,
    "b": 63
  },
  "hsl": {
    "h": 325.455,
    "s": 56.897,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33398,
    "c": 0.10552,
    "h": 348.8
  },
  "luminance": 0.03278
}

Semantic roles & 50–950 ramp

primary
#5B193F
secondary
#3F9162
accent
#E08848
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0408
muted
#7D797B

Preview Lab

Preview with #5B193F

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

Preview Lab → · Contrast checker → · Palette generator →

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