#5B1135#5B1135

#5B1135 is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.1% C 0.111 H 355.9°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#5B1135
RGBrgb(91, 17, 53)
HSLhsl(331, 69%, 21%)
HSVhsv(331, 81%, 36%)
CMYKcmyk(0%, 81.3%, 41.8%, 64.3%)
CIE-LABlab(19.57, 35.99, -3.18)
CIE-LCHlch(19.57, 36.13, 354.96°)
OKLaboklab(32.12% 0.1106 -0.0079)
OKLCHoklch(32.12% 0.111 355.9)
XYZxyz(5.1578, 2.8827, 3.6523)
Luminance0.0288 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B1135 #115B37
analogous
#5B115A #5B1135 #5B1211
triadic
#5B1135 #355B11 #11355B
tetradic
#5B1135 #5A5B11 #115B37 #12115B
square
#5B1135 #5A5B11 #115B37 #12115B
split-complementary
#5B1135 #115B12 #115A5B
monochromatic
#1A050F #270717 #5B1135 #8F1B53 #C22471

Accessibility & contrast

On white

13.32
#5B1135 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#5B1135 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B1135
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B1135#FFFFFF#000000##FFFFFF
##5B11351.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202736
Deuteranopia (green-blind)
#353433
Tritanopia (blue-blind)
#630721
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5b1135;
/* rgb */ color: rgb(91, 17, 53);
/* oklch */ color: oklch(32.1% 0.111 355.9);
Tailwind
colors: {
  custom: {
    50: '#8d576c',
    500: '#5b1135',
    950: '#000000',
  },
}
SCSS
$custom: #5b1135;
$custom-light: #8d576c;
$custom-dark: #000000;
JSON
{
  "hex": "#5b1135",
  "rgb": {
    "r": 91,
    "g": 17,
    "b": 53
  },
  "hsl": {
    "h": 330.811,
    "s": 68.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32122,
    "c": 0.11083,
    "h": 355.9
  },
  "luminance": 0.02882
}

Semantic roles & 50–950 ramp

primary
#5B1135
secondary
#349465
accent
#EB963C
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0306
muted
#7E787A

Preview Lab

Preview with #5B1135

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

Preview Lab → · Contrast checker → · Palette generator →

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