#5B1933#5B1933

#5B1933 is a dark, moderate pink. Relative luminance 0.032; OKLCH L 32.9% C 0.099 H 0.0°. Best body text is #FFFFFF at 12.87:1 contrast (WCAG AA passes).

Color values

HEX#5B1933
RGBrgb(91, 25, 51)
HSLhsl(336, 57%, 23%)
HSVhsv(336, 73%, 36%)
CMYKcmyk(0%, 72.5%, 44%, 64.3%)
CIE-LABlab(20.67, 32.48, -0.15)
CIE-LCHlch(20.67, 32.48, 359.74°)
OKLaboklab(32.91% 0.0994 0)
OKLCHoklch(32.91% 0.099 0)
XYZxyz(5.2599, 3.1591, 3.4641)
Luminance0.0316 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1933 #195B41
analogous
#5B1954 #5B1933 #5B2019
triadic
#5B1933 #335B19 #19335B
tetradic
#5B1933 #545B19 #195B41 #20195B
square
#5B1933 #545B19 #195B41 #20195B
split-complementary
#5B1933 #195B20 #19545B
monochromatic
#18070D #2B0C18 #5B1933 #8B264E #BB3369

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B1933#FFFFFF#000000##FFFFFF
##5B19331.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)
#262A34
Deuteranopia (green-blind)
#383631
Tritanopia (blue-blind)
#631124
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5b1933;
/* rgb */ color: rgb(91, 25, 51);
/* oklch */ color: oklch(32.9% 0.099 0.0);
Tailwind
colors: {
  custom: {
    50: '#8d5b6a',
    500: '#5b1933',
    950: '#000000',
  },
}
SCSS
$custom: #5b1933;
$custom-light: #8d5b6a;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1933",
  "rgb": {
    "r": 91,
    "g": 25,
    "b": 51
  },
  "hsl": {
    "h": 336.364,
    "s": 56.897,
    "l": 22.745
  },
  "oklch": {
    "l": 0.3291,
    "c": 0.09943,
    "h": 0
  },
  "luminance": 0.03158
}

Semantic roles & 50–950 ramp

primary
#5B1933
secondary
#3F9171
accent
#E0A448
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0D0406
muted
#7D797A

Preview Lab

Preview with #5B1933

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

Preview Lab → · Contrast checker → · Palette generator →

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