#5B1833#5B1833

#5B1833 is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.8% C 0.101 H 359.6°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#5B1833
RGBrgb(91, 24, 51)
HSLhsl(336, 58%, 23%)
HSVhsv(336, 74%, 36%)
CMYKcmyk(0%, 73.6%, 44%, 64.3%)
CIE-LABlab(20.51, 32.93, -0.39)
CIE-LCHlch(20.51, 32.93, 359.33°)
OKLaboklab(32.79% 0.1009 -0.0006)
OKLCHoklch(32.79% 0.101 359.6)
XYZxyz(5.2389, 3.1171, 3.4571)
Luminance0.0312 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1833 #185B40
analogous
#5B1854 #5B1833 #5B1F18
triadic
#5B1833 #335B18 #18335B
tetradic
#5B1833 #545B18 #185B40 #1F185B
square
#5B1833 #545B18 #185B40 #1F185B
split-complementary
#5B1833 #185B1F #18545B
monochromatic
#18060E #2B0B18 #5B1833 #8B254E #BC3269

Accessibility & contrast

On white

12.94
#5B1833 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#5B1833 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B1833
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1833#FFFFFF#000000##FFFFFF
##5B18331.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252934
Deuteranopia (green-blind)
#373631
Tritanopia (blue-blind)
#631023
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5b1833;
/* rgb */ color: rgb(91, 24, 51);
/* oklch */ color: oklch(32.8% 0.101 359.6);
Tailwind
colors: {
  custom: {
    50: '#8d5a6a',
    500: '#5b1833',
    950: '#000000',
  },
}
SCSS
$custom: #5b1833;
$custom-light: #8d5a6a;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1833",
  "rgb": {
    "r": 91,
    "g": 24,
    "b": 51
  },
  "hsl": {
    "h": 335.821,
    "s": 58.261,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32789,
    "c": 0.10085,
    "h": 359.6
  },
  "luminance": 0.03116
}

Semantic roles & 50–950 ramp

primary
#5B1833
secondary
#3D9270
accent
#E1A346
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0D0406
muted
#7D797A

Preview Lab

Preview with #5B1833

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

Preview Lab → · Contrast checker → · Palette generator →

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