#5B103E#5B103E

#5B103E is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.4% C 0.117 H 348.2°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#5B103E
RGBrgb(91, 16, 62)
HSLhsl(323, 70%, 21%)
HSVhsv(323, 82%, 36%)
CMYKcmyk(0%, 82.4%, 31.9%, 64.3%)
CIE-LABlab(19.81, 37.48, -9.11)
CIE-LCHlch(19.81, 38.57, 346.34°)
OKLaboklab(32.42% 0.1144 -0.024)
OKLCHoklch(32.42% 0.117 348.2)
XYZxyz(5.3695, 2.9431, 4.8418)
Luminance0.0294 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B103E #105B2D
analogous
#52105B #5B103E #5B1018
triadic
#5B103E #3E5B10 #103E5B
tetradic
#5B103E #5B5210 #105B2D #10185B
square
#5B103E #5B5210 #105B2D #10185B
split-complementary
#5B103E #185B10 #105B52
monochromatic
#1A0512 #27071B #5B103E #8F1961 #C32285

Accessibility & contrast

On white

13.22
#5B103E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#5B103E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B103E
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B103E#FFFFFF#000000##FFFFFF
##5B103E1.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C283F
Deuteranopia (green-blind)
#32353C
Tritanopia (blue-blind)
#620C25
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5b103e;
/* rgb */ color: rgb(91, 16, 62);
/* oklch */ color: oklch(32.4% 0.117 348.2);
Tailwind
colors: {
  custom: {
    50: '#8d5773',
    500: '#5b103e',
    950: '#000000',
  },
}
SCSS
$custom: #5b103e;
$custom-light: #8d5773;
$custom-dark: #000000;
JSON
{
  "hex": "#5b103e",
  "rgb": {
    "r": 91,
    "g": 16,
    "b": 62
  },
  "hsl": {
    "h": 323.2,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32424,
    "c": 0.11683,
    "h": 348.2
  },
  "luminance": 0.02943
}

Semantic roles & 50–950 ramp

primary
#5B103E
secondary
#339458
accent
#ED803B
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0D0408
muted
#7D797B

Preview Lab

Preview with #5B103E

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

Preview Lab → · Contrast checker → · Palette generator →

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