#5B1333#5B1333

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

Color values

HEX#5B1333
RGBrgb(91, 19, 51)
HSLhsl(333, 65%, 22%)
HSVhsv(333, 79%, 36%)
CMYKcmyk(0%, 79.1%, 44%, 64.3%)
CIE-LABlab(19.76, 35.01, -1.48)
CIE-LCHlch(19.76, 35.04, 357.57°)
OKLaboklab(32.24% 0.1075 -0.0035)
OKLCHoklch(32.24% 0.108 358.2)
XYZxyz(5.1452, 2.9296, 3.4258)
Luminance0.0293 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1333 #135B3B
analogous
#5B1357 #5B1333 #5B1713
triadic
#5B1333 #335B13 #13335B
tetradic
#5B1333 #575B13 #135B3B #17135B
square
#5B1333 #575B13 #135B3B #17135B
split-complementary
#5B1333 #135B17 #13575B
monochromatic
#19050E #280817 #5B1333 #8E1E4F #C0286C

Accessibility & contrast

On white

13.24
#5B1333 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B1333
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1333#FFFFFF#000000##FFFFFF
##5B13331.0013.241.5913.24
#FFFFFF13.241.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222734
Deuteranopia (green-blind)
#363531
Tritanopia (blue-blind)
#630921
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5b1333;
/* rgb */ color: rgb(91, 19, 51);
/* oklch */ color: oklch(32.2% 0.108 358.2);
Tailwind
colors: {
  custom: {
    50: '#8d586a',
    500: '#5b1333',
    950: '#000000',
  },
}
SCSS
$custom: #5b1333;
$custom-light: #8d586a;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1333",
  "rgb": {
    "r": 91,
    "g": 19,
    "b": 51
  },
  "hsl": {
    "h": 333.333,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32239,
    "c": 0.10753,
    "h": 358.2
  },
  "luminance": 0.02929
}

Semantic roles & 50–950 ramp

primary
#5B1333
secondary
#37936A
accent
#E89D3F
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5B1333

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

Preview Lab → · Contrast checker → · Palette generator →

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