#5B133B#5B133B

#5B133B is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.6% C 0.111 H 351.1°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#5B133B
RGBrgb(91, 19, 59)
HSLhsl(327, 65%, 22%)
HSVhsv(327, 79%, 36%)
CMYKcmyk(0%, 79.1%, 35.2%, 64.3%)
CIE-LABlab(20.07, 35.99, -6.63)
CIE-LCHlch(20.07, 36.60, 349.56°)
OKLaboklab(32.57% 0.1101 -0.0172)
OKLCHoklch(32.57% 0.111 351.1)
XYZxyz(5.3370, 3.0063, 4.4360)
Luminance0.0301 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B133B #135B33
analogous
#57135B #5B133B #5B1317
triadic
#5B133B #3B5B13 #133B5B
tetradic
#5B133B #5B5713 #135B33 #13175B
square
#5B133B #5B5713 #135B33 #13175B
split-complementary
#5B133B #175B13 #135B57
monochromatic
#190510 #28081A #5B133B #8E1E5C #C0287D

Accessibility & contrast

On white

13.12
#5B133B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#5B133B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B133B
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B133B#FFFFFF#000000##FFFFFF
##5B133B1.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F283C
Deuteranopia (green-blind)
#343539
Tritanopia (blue-blind)
#620E25
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5b133b;
/* rgb */ color: rgb(91, 19, 59);
/* oklch */ color: oklch(32.6% 0.111 351.1);
Tailwind
colors: {
  custom: {
    50: '#8d5870',
    500: '#5b133b',
    950: '#000000',
  },
}
SCSS
$custom: #5b133b;
$custom-light: #8d5870;
$custom-dark: #000000;
JSON
{
  "hex": "#5b133b",
  "rgb": {
    "r": 91,
    "g": 19,
    "b": 59
  },
  "hsl": {
    "h": 326.667,
    "s": 65.455,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32567,
    "c": 0.11146,
    "h": 351.1
  },
  "luminance": 0.03006
}

Semantic roles & 50–950 ramp

primary
#5B133B
secondary
#379360
accent
#E88B3F
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0D0407
muted
#7D797A

Preview Lab

Preview with #5B133B

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

Preview Lab → · Contrast checker → · Palette generator →

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