#5B1026#5B1026

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

Color values

HEX#5B1026
RGBrgb(91, 16, 38)
HSLhsl(342, 70%, 21%)
HSVhsv(342, 82%, 36%)
CMYKcmyk(0%, 82.4%, 58.2%, 64.3%)
CIE-LABlab(18.95, 34.80, 6.58)
CIE-LCHlch(18.95, 35.42, 10.70°)
OKLaboklab(31.51% 0.1058 0.0167)
OKLCHoklch(31.51% 0.107 9)
XYZxyz(4.8500, 2.7354, 2.1059)
Luminance0.0273 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1026 #105B45
analogous
#5B104B #5B1026 #5B1F10
triadic
#5B1026 #265B10 #10265B
tetradic
#5B1026 #4B5B10 #105B45 #1F105B
square
#5B1026 #4B5B10 #105B45 #1F105B
split-complementary
#5B1026 #105B1F #104B5B
monochromatic
#1A050B #270710 #5B1026 #8F193C #C32251

Accessibility & contrast

On white

13.57
#5B1026 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#5B1026 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B1026
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1026#FFFFFF#000000##FFFFFF
##5B10261.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b1026;
/* rgb */ color: rgb(91, 16, 38);
/* oklch */ color: oklch(31.5% 0.107 9.0);
Tailwind
colors: {
  custom: {
    50: '#8e5660',
    500: '#5b1026',
    950: '#000000',
  },
}
SCSS
$custom: #5b1026;
$custom-light: #8e5660;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1026",
  "rgb": {
    "r": 91,
    "g": 16,
    "b": 38
  },
  "hsl": {
    "h": 342.4,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.31509,
    "c": 0.10711,
    "h": 9
  },
  "luminance": 0.02735
}

Semantic roles & 50–950 ramp

primary
#5B1026
secondary
#339478
accent
#EDB93B
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0304
muted
#7E7879

Preview Lab

Preview with #5B1026

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

Preview Lab → · Contrast checker → · Palette generator →

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