#5B1126#5B1126

#5B1126 is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.6% C 0.106 H 9.3°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#5B1126
RGBrgb(91, 17, 38)
HSLhsl(343, 69%, 21%)
HSVhsv(343, 81%, 36%)
CMYKcmyk(0%, 81.3%, 58.2%, 64.3%)
CIE-LABlab(19.08, 34.44, 6.75)
CIE-LCHlch(19.08, 35.10, 11.10°)
OKLaboklab(31.6% 0.1046 0.0172)
OKLCHoklch(31.6% 0.106 9.3)
XYZxyz(4.8651, 2.7657, 2.1110)
Luminance0.0277 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1126 #115B46
analogous
#5B114B #5B1126 #5B2111
triadic
#5B1126 #265B11 #11265B
tetradic
#5B1126 #4B5B11 #115B46 #21115B
square
#5B1126 #4B5B11 #115B46 #21115B
split-complementary
#5B1126 #115B21 #114B5B
monochromatic
#1A050B #270710 #5B1126 #8F1B3C #C22451

Accessibility & contrast

On white

13.52
#5B1126 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B1126
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1126#FFFFFF#000000##FFFFFF
##5B11261.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242526
Deuteranopia (green-blind)
#373424
Tritanopia (blue-blind)
#64001A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5b1126;
/* rgb */ color: rgb(91, 17, 38);
/* oklch */ color: oklch(31.6% 0.106 9.3);
Tailwind
colors: {
  custom: {
    50: '#8e5760',
    500: '#5b1126',
    950: '#000000',
  },
}
SCSS
$custom: #5b1126;
$custom-light: #8e5760;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1126",
  "rgb": {
    "r": 91,
    "g": 17,
    "b": 38
  },
  "hsl": {
    "h": 342.973,
    "s": 68.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31604,
    "c": 0.10603,
    "h": 9.3
  },
  "luminance": 0.02765
}

Semantic roles & 50–950 ramp

primary
#5B1126
secondary
#349479
accent
#EBBA3C
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0304
muted
#7E7879

Preview Lab

Preview with #5B1126

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

Preview Lab → · Contrast checker → · Palette generator →

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