#5B1633#5B1633

#5B1633 is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.6% C 0.104 H 359.0°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#5B1633
RGBrgb(91, 22, 51)
HSLhsl(335, 61%, 22%)
HSVhsv(335, 76%, 36%)
CMYKcmyk(0%, 75.8%, 44%, 64.3%)
CIE-LABlab(20.19, 33.79, -0.85)
CIE-LCHlch(20.19, 33.81, 358.56°)
OKLaboklab(32.56% 0.1036 -0.0018)
OKLCHoklch(32.56% 0.104 359)
XYZxyz(5.1992, 3.0376, 3.4439)
Luminance0.0304 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1633 #165B3E
analogous
#5B1656 #5B1633 #5B1C16
triadic
#5B1633 #335B16 #16335B
tetradic
#5B1633 #565B16 #165B3E #1C165B
square
#5B1633 #565B16 #165B3E #1C165B
split-complementary
#5B1633 #165B1C #16565B
monochromatic
#19060E #2A0A17 #5B1633 #8C224F #BE2E6A

Accessibility & contrast

On white

13.06
#5B1633 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#5B1633 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B1633
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1633#FFFFFF#000000##FFFFFF
##5B16331.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242834
Deuteranopia (green-blind)
#373631
Tritanopia (blue-blind)
#630D22
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5b1633;
/* rgb */ color: rgb(91, 22, 51);
/* oklch */ color: oklch(32.6% 0.104 359.0);
Tailwind
colors: {
  custom: {
    50: '#8d596a',
    500: '#5b1633',
    950: '#000000',
  },
}
SCSS
$custom: #5b1633;
$custom-light: #8d596a;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1633",
  "rgb": {
    "r": 91,
    "g": 22,
    "b": 51
  },
  "hsl": {
    "h": 334.783,
    "s": 61.062,
    "l": 22.157
  },
  "oklch": {
    "l": 0.32558,
    "c": 0.10363,
    "h": 359
  },
  "luminance": 0.03037
}

Semantic roles & 50–950 ramp

primary
#5B1633
secondary
#3B926D
accent
#E4A144
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5B1633

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

Preview Lab → · Contrast checker → · Palette generator →

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