#5B103B#5B103B

#5B103B is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.3% C 0.115 H 350.6°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#5B103B
RGBrgb(91, 16, 59)
HSLhsl(326, 70%, 21%)
HSVhsv(326, 82%, 36%)
CMYKcmyk(0%, 82.4%, 35.2%, 64.3%)
CIE-LABlab(19.68, 37.08, -7.21)
CIE-LCHlch(19.68, 37.78, 348.99°)
OKLaboklab(32.29% 0.1135 -0.0188)
OKLCHoklch(32.29% 0.115 350.6)
XYZxyz(5.2894, 2.9111, 4.4202)
Luminance0.0291 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B103B #105B30
analogous
#55105B #5B103B #5B1015
triadic
#5B103B #3B5B10 #103B5B
tetradic
#5B103B #5B5510 #105B30 #10155B
square
#5B103B #5B5510 #105B30 #10155B
split-complementary
#5B103B #155B10 #105B55
monochromatic
#1A0511 #270719 #5B103B #8F195D #C3227E

Accessibility & contrast

On white

13.27
#5B103B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B103B
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B103B#FFFFFF#000000##FFFFFF
##5B103B1.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D273C
Deuteranopia (green-blind)
#333439
Tritanopia (blue-blind)
#620A24
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5b103b;
/* rgb */ color: rgb(91, 16, 59);
/* oklch */ color: oklch(32.3% 0.115 350.6);
Tailwind
colors: {
  custom: {
    50: '#8d5771',
    500: '#5b103b',
    950: '#000000',
  },
}
SCSS
$custom: #5b103b;
$custom-light: #8d5771;
$custom-dark: #000000;
JSON
{
  "hex": "#5b103b",
  "rgb": {
    "r": 91,
    "g": 16,
    "b": 59
  },
  "hsl": {
    "h": 325.6,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32286,
    "c": 0.11508,
    "h": 350.6
  },
  "luminance": 0.0291
}

Semantic roles & 50–950 ramp

primary
#5B103B
secondary
#33945C
accent
#ED873B
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0D0307
muted
#7D787A

Preview Lab

Preview with #5B103B

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

Preview Lab → · Contrast checker → · Palette generator →

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