#5B0E24#5B0E24

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

Color values

HEX#5B0E24
RGBrgb(91, 14, 36)
HSLhsl(343, 73%, 21%)
HSVhsv(343, 85%, 36%)
CMYKcmyk(0%, 84.6%, 60.4%, 64.3%)
CIE-LABlab(18.65, 35.32, 7.59)
CIE-LCHlch(18.65, 36.12, 12.13°)
OKLaboklab(31.27% 0.1071 0.0191)
OKLCHoklch(31.27% 0.109 10.1)
XYZxyz(4.7903, 2.6663, 1.9311)
Luminance0.0267 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B0E24 #0E5B45
analogous
#5B0E4A #5B0E24 #5B1E0E
triadic
#5B0E24 #245B0E #0E245B
tetradic
#5B0E24 #4A5B0E #0E5B45 #1E0E5B
square
#5B0E24 #4A5B0E #0E5B45 #1E0E5B
split-complementary
#5B0E24 #0E5B1E #0E4A5B
monochromatic
#1B040A #26060F #5B0E24 #901639 #C51E4E

Accessibility & contrast

On white

13.70
#5B0E24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B0E24
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B0E24#FFFFFF#000000##FFFFFF
##5B0E241.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b0e24;
/* rgb */ color: rgb(91, 14, 36);
/* oklch */ color: oklch(31.3% 0.109 10.1);
Tailwind
colors: {
  custom: {
    50: '#8f565e',
    500: '#5b0e24',
    950: '#000000',
  },
}
SCSS
$custom: #5b0e24;
$custom-light: #8f565e;
$custom-dark: #000000;
JSON
{
  "hex": "#5b0e24",
  "rgb": {
    "r": 91,
    "g": 14,
    "b": 36
  },
  "hsl": {
    "h": 342.857,
    "s": 73.333,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31272,
    "c": 0.10882,
    "h": 10.1
  },
  "luminance": 0.02666
}

Semantic roles & 50–950 ramp

primary
#5B0E24
secondary
#309578
accent
#F0BB38
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0304
muted
#7E7879

Preview Lab

Preview with #5B0E24

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

Preview Lab → · Contrast checker → · Palette generator →

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