#5B0F32#5B0F32

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

Color values

HEX#5B0F32
RGBrgb(91, 15, 50)
HSLhsl(332, 72%, 21%)
HSVhsv(332, 84%, 36%)
CMYKcmyk(0%, 83.5%, 45.1%, 64.3%)
CIE-LABlab(19.21, 36.34, -1.59)
CIE-LCHlch(19.21, 36.37, 357.50°)
OKLaboklab(31.82% 0.1117 -0.0037)
OKLCHoklch(31.82% 0.112 358.1)
XYZxyz(5.0613, 2.7967, 3.2903)
Luminance0.0280 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B0F32 #0F5B38
analogous
#5B0F58 #5B0F32 #5B120F
triadic
#5B0F32 #325B0F #0F325B
tetradic
#5B0F32 #585B0F #0F5B38 #120F5B
square
#5B0F32 #585B0F #0F5B38 #120F5B
split-complementary
#5B0F32 #0F5B12 #0F585B
monochromatic
#1A040E #260615 #5B0F32 #90184F #C4206C

Accessibility & contrast

On white

13.47
#5B0F32 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B0F32
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B0F32#FFFFFF#000000##FFFFFF
##5B0F321.0013.471.5613.47
#FFFFFF13.471.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202533
Deuteranopia (green-blind)
#353430
Tritanopia (blue-blind)
#63031F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5b0f32;
/* rgb */ color: rgb(91, 15, 50);
/* oklch */ color: oklch(31.8% 0.112 358.1);
Tailwind
colors: {
  custom: {
    50: '#8d5669',
    500: '#5b0f32',
    950: '#000000',
  },
}
SCSS
$custom: #5b0f32;
$custom-light: #8d5669;
$custom-dark: #000000;
JSON
{
  "hex": "#5b0f32",
  "rgb": {
    "r": 91,
    "g": 15,
    "b": 50
  },
  "hsl": {
    "h": 332.368,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31824,
    "c": 0.11178,
    "h": 358.1
  },
  "luminance": 0.02796
}

Semantic roles & 50–950 ramp

primary
#5B0F32
secondary
#319567
accent
#EE9B39
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0306
muted
#7E787A

Preview Lab

Preview with #5B0F32

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

Preview Lab → · Contrast checker → · Palette generator →

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