#5B103C#5B103C

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

Color values

HEX#5B103C
RGBrgb(91, 16, 60)
HSLhsl(325, 70%, 21%)
HSVhsv(325, 82%, 36%)
CMYKcmyk(0%, 82.4%, 34.1%, 64.3%)
CIE-LABlab(19.73, 37.21, -7.85)
CIE-LCHlch(19.73, 38.03, 348.09°)
OKLaboklab(32.33% 0.1138 -0.0205)
OKLCHoklch(32.33% 0.116 349.8)
XYZxyz(5.3156, 2.9216, 4.5581)
Luminance0.0292 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B103C #105B2F
analogous
#54105B #5B103C #5B1016
triadic
#5B103C #3C5B10 #103C5B
tetradic
#5B103C #5B5410 #105B2F #10165B
square
#5B103C #5B5410 #105B2F #10165B
split-complementary
#5B103C #165B10 #105B54
monochromatic
#1A0511 #27071A #5B103C #8F195E #C32281

Accessibility & contrast

On white

13.26
#5B103C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B103C
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B103C#FFFFFF#000000##FFFFFF
##5B103C1.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D273D
Deuteranopia (green-blind)
#33343A
Tritanopia (blue-blind)
#620B24
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5b103c;
/* rgb */ color: rgb(91, 16, 60);
/* oklch */ color: oklch(32.3% 0.116 349.8);
Tailwind
colors: {
  custom: {
    50: '#8d5771',
    500: '#5b103c',
    950: '#000000',
  },
}
SCSS
$custom: #5b103c;
$custom-light: #8d5771;
$custom-dark: #000000;
JSON
{
  "hex": "#5b103c",
  "rgb": {
    "r": 91,
    "g": 16,
    "b": 60
  },
  "hsl": {
    "h": 324.8,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32331,
    "c": 0.11565,
    "h": 349.8
  },
  "luminance": 0.02921
}

Semantic roles & 50–950 ramp

primary
#5B103C
secondary
#33945B
accent
#ED843B
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0D0307
muted
#7D787A

Preview Lab

Preview with #5B103C

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

Preview Lab → · Contrast checker → · Palette generator →

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