#5B0D2C#5B0D2C

#5B0D2C is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.4% C 0.112 H 2.9°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#5B0D2C
RGBrgb(91, 13, 44)
HSLhsl(336, 75%, 20%)
HSVhsv(336, 86%, 36%)
CMYKcmyk(0%, 85.7%, 51.6%, 64.3%)
CIE-LABlab(18.78, 36.36, 2.04)
CIE-LCHlch(18.78, 36.42, 3.22°)
OKLaboklab(31.44% 0.1115 0.0056)
OKLCHoklch(31.44% 0.112 2.9)
XYZxyz(4.9134, 2.6945, 2.6438)
Luminance0.0269 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B0D2C #0D5B3C
analogous
#5B0D53 #5B0D2C #5B150D
triadic
#5B0D2C #2C5B0D #0D2C5B
tetradic
#5B0D2C #535B0D #0D5B3C #150D5B
square
#5B0D2C #535B0D #0D5B3C #150D5B
split-complementary
#5B0D2C #0D5B15 #0D535B
monochromatic
#1B040D #250512 #5B0D2C #911546 #C61C60

Accessibility & contrast

On white

13.65
#5B0D2C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#5B0D2C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B0D2C
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B0D2C#FFFFFF#000000##FFFFFF
##5B0D2C1.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21242D
Deuteranopia (green-blind)
#35332A
Tritanopia (blue-blind)
#64001B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5b0d2c;
/* rgb */ color: rgb(91, 13, 44);
/* oklch */ color: oklch(31.4% 0.112 2.9);
Tailwind
colors: {
  custom: {
    50: '#8e5564',
    500: '#5b0d2c',
    950: '#000000',
  },
}
SCSS
$custom: #5b0d2c;
$custom-light: #8e5564;
$custom-dark: #000000;
JSON
{
  "hex": "#5b0d2c",
  "rgb": {
    "r": 91,
    "g": 13,
    "b": 44
  },
  "hsl": {
    "h": 336.154,
    "s": 75,
    "l": 20.392
  },
  "oklch": {
    "l": 0.31439,
    "c": 0.11167,
    "h": 2.9
  },
  "luminance": 0.02694
}

Semantic roles & 50–950 ramp

primary
#5B0D2C
secondary
#2F956C
accent
#F2A736
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0305
muted
#7E787A

Preview Lab

Preview with #5B0D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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