#5B0F35#5B0F35

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

Color values

HEX#5B0F35
RGBrgb(91, 15, 53)
HSLhsl(330, 72%, 21%)
HSVhsv(330, 84%, 36%)
CMYKcmyk(0%, 83.5%, 41.8%, 64.3%)
CIE-LABlab(19.32, 36.68, -3.54)
CIE-LCHlch(19.32, 36.85, 354.49°)
OKLaboklab(31.94% 0.1128 -0.0089)
OKLCHoklch(31.94% 0.113 355.5)
XYZxyz(5.1282, 2.8235, 3.6424)
Luminance0.0282 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B0F35 #0F5B35
analogous
#5B0F5B #5B0F35 #5B0F0F
triadic
#5B0F35 #355B0F #0F355B
tetradic
#5B0F35 #5B5B0F #0F5B35 #0F0F5B
square
#5B0F35 #5B5B0F #0F5B35 #0F0F5B
split-complementary
#5B0F35 #0F5B0F #0F5B5B
monochromatic
#1A040F #260616 #5B0F35 #901854 #C42072

Accessibility & contrast

On white

13.42
#5B0F35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B0F35
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B0F35#FFFFFF#000000##FFFFFF
##5B0F351.0013.421.5613.42
#FFFFFF13.421.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2636
Deuteranopia (green-blind)
#343433
Tritanopia (blue-blind)
#630520
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5b0f35;
/* rgb */ color: rgb(91, 15, 53);
/* oklch */ color: oklch(31.9% 0.113 355.5);
Tailwind
colors: {
  custom: {
    50: '#8d576c',
    500: '#5b0f35',
    950: '#000000',
  },
}
SCSS
$custom: #5b0f35;
$custom-light: #8d576c;
$custom-dark: #000000;
JSON
{
  "hex": "#5b0f35",
  "rgb": {
    "r": 91,
    "g": 15,
    "b": 53
  },
  "hsl": {
    "h": 330,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31943,
    "c": 0.11311,
    "h": 355.5
  },
  "luminance": 0.02823
}

Semantic roles & 50–950 ramp

primary
#5B0F35
secondary
#319563
accent
#EE9439
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0306
muted
#7E787A

Preview Lab

Preview with #5B0F35

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

Preview Lab → · Contrast checker → · Palette generator →

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