#5B0D26#5B0D26

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

Color values

HEX#5B0D26
RGBrgb(91, 13, 38)
HSLhsl(341, 75%, 20%)
HSVhsv(341, 86%, 36%)
CMYKcmyk(0%, 85.7%, 58.2%, 64.3%)
CIE-LABlab(18.60, 35.81, 6.08)
CIE-LCHlch(18.60, 36.32, 9.63°)
OKLaboklab(31.25% 0.109 0.0155)
OKLCHoklch(31.25% 0.11 8.1)
XYZxyz(4.8086, 2.6526, 2.0921)
Luminance0.0265 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B0D26 #0D5B42
analogous
#5B0D4D #5B0D26 #5B1B0D
triadic
#5B0D26 #265B0D #0D265B
tetradic
#5B0D26 #4D5B0D #0D5B42 #1B0D5B
square
#5B0D26 #4D5B0D #0D5B42 #1B0D5B
split-complementary
#5B0D26 #0D5B1B #0D4D5B
monochromatic
#1B040B #250510 #5B0D26 #91153C #C61C53

Accessibility & contrast

On white

13.72
#5B0D26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#5B0D26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B0D26
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B0D26#FFFFFF#000000##FFFFFF
##5B0D261.0013.721.5313.72
#FFFFFF13.721.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222326
Deuteranopia (green-blind)
#363324
Tritanopia (blue-blind)
#640018
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #5b0d26;
/* rgb */ color: rgb(91, 13, 38);
/* oklch */ color: oklch(31.2% 0.110 8.1);
Tailwind
colors: {
  custom: {
    50: '#8e5560',
    500: '#5b0d26',
    950: '#000000',
  },
}
SCSS
$custom: #5b0d26;
$custom-light: #8e5560;
$custom-dark: #000000;
JSON
{
  "hex": "#5b0d26",
  "rgb": {
    "r": 91,
    "g": 13,
    "b": 38
  },
  "hsl": {
    "h": 340.769,
    "s": 75,
    "l": 20.392
  },
  "oklch": {
    "l": 0.31246,
    "c": 0.11014,
    "h": 8.1
  },
  "luminance": 0.02652
}

Semantic roles & 50–950 ramp

primary
#5B0D26
secondary
#2F9574
accent
#F2B636
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0304
muted
#7E7879

Preview Lab

Preview with #5B0D26

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

Preview Lab → · Contrast checker → · Palette generator →

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