#5B0E31#5B0E31

#5B0E31 is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.7% C 0.112 H 358.8°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#5B0E31
RGBrgb(91, 14, 49)
HSLhsl(333, 73%, 21%)
HSVhsv(333, 85%, 36%)
CMYKcmyk(0%, 84.6%, 46.2%, 64.3%)
CIE-LABlab(19.06, 36.56, -1.10)
CIE-LCHlch(19.06, 36.58, 358.27°)
OKLaboklab(31.7% 0.1124 -0.0024)
OKLCHoklch(31.7% 0.112 358.8)
XYZxyz(5.0262, 2.7606, 3.1733)
Luminance0.0276 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B0E31 #0E5B38
analogous
#5B0E57 #5B0E31 #5B110E
triadic
#5B0E31 #315B0E #0E315B
tetradic
#5B0E31 #575B0E #0E5B38 #110E5B
square
#5B0E31 #575B0E #0E5B38 #110E5B
split-complementary
#5B0E31 #0E5B11 #0E575B
monochromatic
#1B040E #260614 #5B0E31 #90164E #C51E6A

Accessibility & contrast

On white

13.53
#5B0E31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B0E31
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B0E31#FFFFFF#000000##FFFFFF
##5B0E311.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202532
Deuteranopia (green-blind)
#35332F
Tritanopia (blue-blind)
#63011E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5b0e31;
/* rgb */ color: rgb(91, 14, 49);
/* oklch */ color: oklch(31.7% 0.112 358.8);
Tailwind
colors: {
  custom: {
    50: '#8e5668',
    500: '#5b0e31',
    950: '#000000',
  },
}
SCSS
$custom: #5b0e31;
$custom-light: #8e5668;
$custom-dark: #000000;
JSON
{
  "hex": "#5b0e31",
  "rgb": {
    "r": 91,
    "g": 14,
    "b": 49
  },
  "hsl": {
    "h": 332.727,
    "s": 73.333,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31701,
    "c": 0.11245,
    "h": 358.8
  },
  "luminance": 0.0276
}

Semantic roles & 50–950 ramp

primary
#5B0E31
secondary
#309567
accent
#F09C38
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0306
muted
#7E787A

Preview Lab

Preview with #5B0E31

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

Preview Lab → · Contrast checker → · Palette generator →

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