#5B0E2D#5B0E2D

#5B0E2D is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.6% C 0.111 H 2.2°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#5B0E2D
RGBrgb(91, 14, 45)
HSLhsl(336, 73%, 21%)
HSVhsv(336, 85%, 36%)
CMYKcmyk(0%, 84.6%, 50.5%, 64.3%)
CIE-LABlab(18.92, 36.14, 1.54)
CIE-LCHlch(18.92, 36.17, 2.44°)
OKLaboklab(31.56% 0.1109 0.0043)
OKLCHoklch(31.56% 0.111 2.2)
XYZxyz(4.9455, 2.7284, 2.7483)
Luminance0.0273 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B0E2D #0E5B3C
analogous
#5B0E53 #5B0E2D #5B150E
triadic
#5B0E2D #2D5B0E #0E2D5B
tetradic
#5B0E2D #535B0E #0E5B3C #150E5B
square
#5B0E2D #535B0E #0E5B3C #150E5B
split-complementary
#5B0E2D #0E5B15 #0E535B
monochromatic
#1B040D #260613 #5B0E2D #901647 #C51E61

Accessibility & contrast

On white

13.59
#5B0E2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#5B0E2D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B0E2D
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B0E2D#FFFFFF#000000##FFFFFF
##5B0E2D1.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b0e2d;
/* rgb */ color: rgb(91, 14, 45);
/* oklch */ color: oklch(31.6% 0.111 2.2);
Tailwind
colors: {
  custom: {
    50: '#8e5665',
    500: '#5b0e2d',
    950: '#000000',
  },
}
SCSS
$custom: #5b0e2d;
$custom-light: #8e5665;
$custom-dark: #000000;
JSON
{
  "hex": "#5b0e2d",
  "rgb": {
    "r": 91,
    "g": 14,
    "b": 45
  },
  "hsl": {
    "h": 335.844,
    "s": 73.333,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31556,
    "c": 0.11098,
    "h": 2.2
  },
  "luminance": 0.02728
}

Semantic roles & 50–950 ramp

primary
#5B0E2D
secondary
#30956C
accent
#F0A638
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0305
muted
#7E787A

Preview Lab

Preview with #5B0E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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