#5B1335#5B1335

#5B1335 is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.3% C 0.108 H 356.4°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#5B1335
RGBrgb(91, 19, 53)
HSLhsl(332, 65%, 22%)
HSVhsv(332, 79%, 36%)
CMYKcmyk(0%, 79.1%, 41.8%, 64.3%)
CIE-LABlab(19.83, 35.24, -2.78)
CIE-LCHlch(19.83, 35.35, 355.48°)
OKLaboklab(32.32% 0.1082 -0.0069)
OKLCHoklch(32.32% 0.108 356.4)
XYZxyz(5.1902, 2.9476, 3.6631)
Luminance0.0295 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1335 #135B39
analogous
#5B1359 #5B1335 #5B1513
triadic
#5B1335 #355B13 #13355B
tetradic
#5B1335 #595B13 #135B39 #15135B
square
#5B1335 #595B13 #135B39 #15135B
split-complementary
#5B1335 #135B15 #13595B
monochromatic
#19050F #280818 #5B1335 #8E1E52 #C02870

Accessibility & contrast

On white

13.21
#5B1335 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#5B1335 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B1335
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1335#FFFFFF#000000##FFFFFF
##5B13351.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212736
Deuteranopia (green-blind)
#353533
Tritanopia (blue-blind)
#630A22
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5b1335;
/* rgb */ color: rgb(91, 19, 53);
/* oklch */ color: oklch(32.3% 0.108 356.4);
Tailwind
colors: {
  custom: {
    50: '#8d586c',
    500: '#5b1335',
    950: '#000000',
  },
}
SCSS
$custom: #5b1335;
$custom-light: #8d586c;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1335",
  "rgb": {
    "r": 91,
    "g": 19,
    "b": 53
  },
  "hsl": {
    "h": 331.667,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32316,
    "c": 0.1084,
    "h": 356.4
  },
  "luminance": 0.02947
}

Semantic roles & 50–950 ramp

primary
#5B1335
secondary
#379367
accent
#E8993F
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5B1335

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

Preview Lab → · Contrast checker → · Palette generator →

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