#5B0F36#5B0F36

#5B0F36 is a dark, moderate pink. Relative luminance 0.028; OKLCH L 32.0% C 0.114 H 354.7°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#5B0F36
RGBrgb(91, 15, 54)
HSLhsl(329, 72%, 21%)
HSVhsv(329, 84%, 36%)
CMYKcmyk(0%, 83.5%, 40.7%, 64.3%)
CIE-LABlab(19.36, 36.80, -4.19)
CIE-LCHlch(19.36, 37.04, 353.51°)
OKLaboklab(31.98% 0.1131 -0.0106)
OKLCHoklch(31.98% 0.114 354.7)
XYZxyz(5.1514, 2.8328, 3.7648)
Luminance0.0283 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B0F36 #0F5B34
analogous
#5A0F5B #5B0F36 #5B0F10
triadic
#5B0F36 #365B0F #0F365B
tetradic
#5B0F36 #5B5A0F #0F5B34 #0F105B
square
#5B0F36 #5B5A0F #0F5B34 #0F105B
split-complementary
#5B0F36 #105B0F #0F5B5A
monochromatic
#1A0410 #260617 #5B0F36 #901855 #C42074

Accessibility & contrast

On white

13.41
#5B0F36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#5B0F36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B0F36
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B0F36#FFFFFF#000000##FFFFFF
##5B0F361.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2637
Deuteranopia (green-blind)
#343434
Tritanopia (blue-blind)
#630621
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5b0f36;
/* rgb */ color: rgb(91, 15, 54);
/* oklch */ color: oklch(32.0% 0.114 354.7);
Tailwind
colors: {
  custom: {
    50: '#8d576c',
    500: '#5b0f36',
    950: '#000000',
  },
}
SCSS
$custom: #5b0f36;
$custom-light: #8d576c;
$custom-dark: #000000;
JSON
{
  "hex": "#5b0f36",
  "rgb": {
    "r": 91,
    "g": 15,
    "b": 54
  },
  "hsl": {
    "h": 329.211,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31984,
    "c": 0.11358,
    "h": 354.7
  },
  "luminance": 0.02832
}

Semantic roles & 50–950 ramp

primary
#5B0F36
secondary
#319562
accent
#EE9239
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0307
muted
#7E787A

Preview Lab

Preview with #5B0F36

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

Preview Lab → · Contrast checker → · Palette generator →

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