#5B0F34#5B0F34

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

Color values

HEX#5B0F34
RGBrgb(91, 15, 52)
HSLhsl(331, 72%, 21%)
HSVhsv(331, 84%, 36%)
CMYKcmyk(0%, 83.5%, 42.9%, 64.3%)
CIE-LABlab(19.28, 36.57, -2.89)
CIE-LCHlch(19.28, 36.68, 355.48°)
OKLaboklab(31.9% 0.1124 -0.0071)
OKLCHoklch(31.9% 0.113 356.4)
XYZxyz(5.1054, 2.8144, 3.5225)
Luminance0.0281 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B0F34 #0F5B36
analogous
#5B0F5A #5B0F34 #5B100F
triadic
#5B0F34 #345B0F #0F345B
tetradic
#5B0F34 #5A5B0F #0F5B36 #100F5B
square
#5B0F34 #5A5B0F #0F5B36 #100F5B
split-complementary
#5B0F34 #0F5B10 #0F5A5B
monochromatic
#1A040F #260616 #5B0F34 #901852 #C42070

Accessibility & contrast

On white

13.44
#5B0F34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B0F34
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B0F34#FFFFFF#000000##FFFFFF
##5B0F341.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2635
Deuteranopia (green-blind)
#343432
Tritanopia (blue-blind)
#630420
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5b0f34;
/* rgb */ color: rgb(91, 15, 52);
/* oklch */ color: oklch(31.9% 0.113 356.4);
Tailwind
colors: {
  custom: {
    50: '#8d576b',
    500: '#5b0f34',
    950: '#000000',
  },
}
SCSS
$custom: #5b0f34;
$custom-light: #8d576b;
$custom-dark: #000000;
JSON
{
  "hex": "#5b0f34",
  "rgb": {
    "r": 91,
    "g": 15,
    "b": 52
  },
  "hsl": {
    "h": 330.789,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31902,
    "c": 0.11265,
    "h": 356.4
  },
  "luminance": 0.02814
}

Semantic roles & 50–950 ramp

primary
#5B0F34
secondary
#319564
accent
#EE9639
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0306
muted
#7E787A

Preview Lab

Preview with #5B0F34

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

Preview Lab → · Contrast checker → · Palette generator →

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