#5B0E33#5B0E33

#5B0E33 is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.8% C 0.113 H 357.0°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#5B0E33
RGBrgb(91, 14, 51)
HSLhsl(331, 73%, 21%)
HSVhsv(331, 85%, 36%)
CMYKcmyk(0%, 84.6%, 44%, 64.3%)
CIE-LABlab(19.13, 36.78, -2.41)
CIE-LCHlch(19.13, 36.86, 356.25°)
OKLaboklab(31.78% 0.1131 -0.0059)
OKLCHoklch(31.78% 0.113 357)
XYZxyz(5.0693, 2.7779, 3.4006)
Luminance0.0278 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B0E33 #0E5B36
analogous
#5B0E59 #5B0E33 #5B100E
triadic
#5B0E33 #335B0E #0E335B
tetradic
#5B0E33 #595B0E #0E5B36 #100E5B
square
#5B0E33 #595B0E #0E5B36 #100E5B
split-complementary
#5B0E33 #0E5B10 #0E595B
monochromatic
#1B040F #260615 #5B0E33 #901651 #C51E6E

Accessibility & contrast

On white

13.50
#5B0E33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#5B0E33 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B0E33
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B0E33#FFFFFF#000000##FFFFFF
##5B0E331.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2534
Deuteranopia (green-blind)
#343431
Tritanopia (blue-blind)
#63031F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5b0e33;
/* rgb */ color: rgb(91, 14, 51);
/* oklch */ color: oklch(31.8% 0.113 357.0);
Tailwind
colors: {
  custom: {
    50: '#8d566a',
    500: '#5b0e33',
    950: '#000000',
  },
}
SCSS
$custom: #5b0e33;
$custom-light: #8d566a;
$custom-dark: #000000;
JSON
{
  "hex": "#5b0e33",
  "rgb": {
    "r": 91,
    "g": 14,
    "b": 51
  },
  "hsl": {
    "h": 331.169,
    "s": 73.333,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31778,
    "c": 0.11328,
    "h": 357
  },
  "luminance": 0.02777
}

Semantic roles & 50–950 ramp

primary
#5B0E33
secondary
#309564
accent
#F09738
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0306
muted
#7E787A

Preview Lab

Preview with #5B0E33

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

Preview Lab → · Contrast checker → · Palette generator →

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