#5B1024#5B1024

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

Color values

HEX#5B1024
RGBrgb(91, 16, 36)
HSLhsl(344, 70%, 21%)
HSVhsv(344, 82%, 36%)
CMYKcmyk(0%, 82.4%, 60.4%, 64.3%)
CIE-LABlab(18.90, 34.63, 7.93)
CIE-LCHlch(18.90, 35.53, 12.89°)
OKLaboklab(31.45% 0.1049 0.0199)
OKLCHoklch(31.45% 0.107 10.8)
XYZxyz(4.8186, 2.7228, 1.9405)
Luminance0.0272 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1024 #105B47
analogous
#5B1049 #5B1024 #5B2110
triadic
#5B1024 #245B10 #10245B
tetradic
#5B1024 #495B10 #105B47 #21105B
square
#5B1024 #495B10 #105B47 #21105B
split-complementary
#5B1024 #105B21 #10495B
monochromatic
#1A050A #27070F #5B1024 #8F1939 #C3224D

Accessibility & contrast

On white

13.60
#5B1024 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B1024
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1024#FFFFFF#000000##FFFFFF
##5B10241.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242424
Deuteranopia (green-blind)
#373322
Tritanopia (blue-blind)
#640019
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5b1024;
/* rgb */ color: rgb(91, 16, 36);
/* oklch */ color: oklch(31.5% 0.107 10.8);
Tailwind
colors: {
  custom: {
    50: '#8e565e',
    500: '#5b1024',
    950: '#000000',
  },
}
SCSS
$custom: #5b1024;
$custom-light: #8e565e;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1024",
  "rgb": {
    "r": 91,
    "g": 16,
    "b": 36
  },
  "hsl": {
    "h": 344,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31452,
    "c": 0.10679,
    "h": 10.8
  },
  "luminance": 0.02722
}

Semantic roles & 50–950 ramp

primary
#5B1024
secondary
#33947A
accent
#EDBD3B
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0304
muted
#7E7879

Preview Lab

Preview with #5B1024

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

Preview Lab → · Contrast checker → · Palette generator →

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