#5B0E26#5B0E26

#5B0E26 is a dark, moderate pink. Relative luminance 0.027; OKLCH L 31.3% C 0.109 H 8.4°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#5B0E26
RGBrgb(91, 14, 38)
HSLhsl(341, 73%, 21%)
HSVhsv(341, 85%, 36%)
CMYKcmyk(0%, 84.6%, 58.2%, 64.3%)
CIE-LABlab(18.71, 35.48, 6.24)
CIE-LCHlch(18.71, 36.03, 9.97°)
OKLaboklab(31.33% 0.108 0.0159)
OKLCHoklch(31.33% 0.109 8.4)
XYZxyz(4.8217, 2.6789, 2.0965)
Luminance0.0268 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B0E26 #0E5B43
analogous
#5B0E4C #5B0E26 #5B1D0E
triadic
#5B0E26 #265B0E #0E265B
tetradic
#5B0E26 #4C5B0E #0E5B43 #1D0E5B
square
#5B0E26 #4C5B0E #0E5B43 #1D0E5B
split-complementary
#5B0E26 #0E5B1D #0E4C5B
monochromatic
#1B040B #260610 #5B0E26 #90163C #C51E52

Accessibility & contrast

On white

13.68
#5B0E26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B0E26
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B0E26#FFFFFF#000000##FFFFFF
##5B0E261.0013.681.5413.68
#FFFFFF13.681.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232426
Deuteranopia (green-blind)
#373324
Tritanopia (blue-blind)
#640018
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5b0e26;
/* rgb */ color: rgb(91, 14, 38);
/* oklch */ color: oklch(31.3% 0.109 8.4);
Tailwind
colors: {
  custom: {
    50: '#8e5660',
    500: '#5b0e26',
    950: '#000000',
  },
}
SCSS
$custom: #5b0e26;
$custom-light: #8e5660;
$custom-dark: #000000;
JSON
{
  "hex": "#5b0e26",
  "rgb": {
    "r": 91,
    "g": 14,
    "b": 38
  },
  "hsl": {
    "h": 341.299,
    "s": 73.333,
    "l": 20.588
  },
  "oklch": {
    "l": 0.3133,
    "c": 0.10917,
    "h": 8.4
  },
  "luminance": 0.02678
}

Semantic roles & 50–950 ramp

primary
#5B0E26
secondary
#309575
accent
#F0B738
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0304
muted
#7E7879

Preview Lab

Preview with #5B0E26

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

Preview Lab → · Contrast checker → · Palette generator →

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