#5B0D2D#5B0D2D

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

Color values

HEX#5B0D2D
RGBrgb(91, 13, 45)
HSLhsl(335, 75%, 20%)
HSVhsv(335, 86%, 36%)
CMYKcmyk(0%, 85.7%, 50.5%, 64.3%)
CIE-LABlab(18.81, 36.46, 1.38)
CIE-LCHlch(18.81, 36.49, 2.17°)
OKLaboklab(31.47% 0.1119 0.0039)
OKLCHoklch(31.47% 0.112 2)
XYZxyz(4.9324, 2.7021, 2.7439)
Luminance0.0270 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B0D2D #0D5B3B
analogous
#5B0D54 #5B0D2D #5B140D
triadic
#5B0D2D #2D5B0D #0D2D5B
tetradic
#5B0D2D #545B0D #0D5B3B #140D5B
square
#5B0D2D #545B0D #0D5B3B #140D5B
split-complementary
#5B0D2D #0D5B14 #0D545B
monochromatic
#1B040D #250513 #5B0D2D #911547 #C61C62

Accessibility & contrast

On white

13.63
#5B0D2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B0D2D
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B0D2D#FFFFFF#000000##FFFFFF
##5B0D2D1.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20242E
Deuteranopia (green-blind)
#35332B
Tritanopia (blue-blind)
#64001B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5b0d2d;
/* rgb */ color: rgb(91, 13, 45);
/* oklch */ color: oklch(31.5% 0.112 2.0);
Tailwind
colors: {
  custom: {
    50: '#8e5665',
    500: '#5b0d2d',
    950: '#000000',
  },
}
SCSS
$custom: #5b0d2d;
$custom-light: #8e5665;
$custom-dark: #000000;
JSON
{
  "hex": "#5b0d2d",
  "rgb": {
    "r": 91,
    "g": 13,
    "b": 45
  },
  "hsl": {
    "h": 335.385,
    "s": 75,
    "l": 20.392
  },
  "oklch": {
    "l": 0.31473,
    "c": 0.112,
    "h": 2
  },
  "luminance": 0.02701
}

Semantic roles & 50–950 ramp

primary
#5B0D2D
secondary
#2F956B
accent
#F2A536
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0305
muted
#7E787A

Preview Lab

Preview with #5B0D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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