#5B0E2B#5B0E2B

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

Color values

HEX#5B0E2B
RGBrgb(91, 14, 43)
HSLhsl(337, 73%, 21%)
HSVhsv(337, 85%, 36%)
CMYKcmyk(0%, 84.6%, 52.7%, 64.3%)
CIE-LABlab(18.86, 35.94, 2.87)
CIE-LCHlch(18.86, 36.06, 4.57°)
OKLaboklab(31.49% 0.1101 0.0077)
OKLCHoklch(31.49% 0.11 4)
XYZxyz(4.9079, 2.7133, 2.5503)
Luminance0.0271 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B0E2B #0E5B3E
analogous
#5B0E51 #5B0E2B #5B180E
triadic
#5B0E2B #2B5B0E #0E2B5B
tetradic
#5B0E2B #515B0E #0E5B3E #180E5B
square
#5B0E2B #515B0E #0E5B3E #180E5B
split-complementary
#5B0E2B #0E5B18 #0E515B
monochromatic
#1B040D #260612 #5B0E2B #901644 #C51E5D

Accessibility & contrast

On white

13.61
#5B0E2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B0E2B
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B0E2B#FFFFFF#000000##FFFFFF
##5B0E2B1.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22242C
Deuteranopia (green-blind)
#363329
Tritanopia (blue-blind)
#64001B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5b0e2b;
/* rgb */ color: rgb(91, 14, 43);
/* oklch */ color: oklch(31.5% 0.110 4.0);
Tailwind
colors: {
  custom: {
    50: '#8e5664',
    500: '#5b0e2b',
    950: '#000000',
  },
}
SCSS
$custom: #5b0e2b;
$custom-light: #8e5664;
$custom-dark: #000000;
JSON
{
  "hex": "#5b0e2b",
  "rgb": {
    "r": 91,
    "g": 14,
    "b": 43
  },
  "hsl": {
    "h": 337.403,
    "s": 73.333,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31487,
    "c": 0.11037,
    "h": 4
  },
  "luminance": 0.02713
}

Semantic roles & 50–950 ramp

primary
#5B0E2B
secondary
#30956F
accent
#F0AB38
background
#F9F5F5
surface
#F1E9EA
border
#CBC5C6
text
#0D0305
muted
#7E7879

Preview Lab

Preview with #5B0E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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