#5B1124#5B1124

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

Color values

HEX#5B1124
RGBrgb(91, 17, 36)
HSLhsl(345, 69%, 21%)
HSVhsv(345, 81%, 36%)
CMYKcmyk(0%, 81.3%, 60.4%, 64.3%)
CIE-LABlab(19.03, 34.27, 8.10)
CIE-LCHlch(19.03, 35.21, 13.30°)
OKLaboklab(31.55% 0.1038 0.0204)
OKLCHoklch(31.55% 0.106 11.1)
XYZxyz(4.8337, 2.7531, 1.9456)
Luminance0.0275 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1124 #115B48
analogous
#5B1149 #5B1124 #5B2311
triadic
#5B1124 #245B11 #11245B
tetradic
#5B1124 #495B11 #115B48 #23115B
square
#5B1124 #495B11 #115B48 #23115B
split-complementary
#5B1124 #115B23 #11495B
monochromatic
#1A050A #270710 #5B1124 #8F1B38 #C2244D

Accessibility & contrast

On white

13.54
#5B1124 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B1124
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1124#FFFFFF#000000##FFFFFF
##5B11241.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b1124;
/* rgb */ color: rgb(91, 17, 36);
/* oklch */ color: oklch(31.5% 0.106 11.1);
Tailwind
colors: {
  custom: {
    50: '#8e575e',
    500: '#5b1124',
    950: '#000000',
  },
}
SCSS
$custom: #5b1124;
$custom-light: #8e575e;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1124",
  "rgb": {
    "r": 91,
    "g": 17,
    "b": 36
  },
  "hsl": {
    "h": 344.595,
    "s": 68.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31547,
    "c": 0.10573,
    "h": 11.1
  },
  "luminance": 0.02752
}

Semantic roles & 50–950 ramp

primary
#5B1124
secondary
#34947B
accent
#EBBE3C
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0304
muted
#7E7879

Preview Lab

Preview with #5B1124

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

Preview Lab → · Contrast checker → · Palette generator →

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