#5B0F33#5B0F33

#5B0F33 is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.9% C 0.112 H 357.2°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#5B0F33
RGBrgb(91, 15, 51)
HSLhsl(332, 72%, 21%)
HSVhsv(332, 84%, 36%)
CMYKcmyk(0%, 83.5%, 44%, 64.3%)
CIE-LABlab(19.25, 36.45, -2.24)
CIE-LCHlch(19.25, 36.52, 356.48°)
OKLaboklab(31.86% 0.1121 -0.0054)
OKLCHoklch(31.86% 0.112 357.2)
XYZxyz(5.0831, 2.8055, 3.4052)
Luminance0.0280 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B0F33 #0F5B37
analogous
#5B0F59 #5B0F33 #5B110F
triadic
#5B0F33 #335B0F #0F335B
tetradic
#5B0F33 #595B0F #0F5B37 #110F5B
square
#5B0F33 #595B0F #0F5B37 #110F5B
split-complementary
#5B0F33 #0F5B11 #0F595B
monochromatic
#1A040F #260616 #5B0F33 #901850 #C4206E

Accessibility & contrast

On white

13.45
#5B0F33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#5B0F33 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B0F33
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B0F33#FFFFFF#000000##FFFFFF
##5B0F331.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202634
Deuteranopia (green-blind)
#353431
Tritanopia (blue-blind)
#63041F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5b0f33;
/* rgb */ color: rgb(91, 15, 51);
/* oklch */ color: oklch(31.9% 0.112 357.2);
Tailwind
colors: {
  custom: {
    50: '#8d566a',
    500: '#5b0f33',
    950: '#000000',
  },
}
SCSS
$custom: #5b0f33;
$custom-light: #8d566a;
$custom-dark: #000000;
JSON
{
  "hex": "#5b0f33",
  "rgb": {
    "r": 91,
    "g": 15,
    "b": 51
  },
  "hsl": {
    "h": 331.579,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31863,
    "c": 0.11221,
    "h": 357.2
  },
  "luminance": 0.02805
}

Semantic roles & 50–950 ramp

primary
#5B0F33
secondary
#319566
accent
#EE9939
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0306
muted
#7E787A

Preview Lab

Preview with #5B0F33

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

Preview Lab → · Contrast checker → · Palette generator →

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