#5B103A#5B103A

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

Color values

HEX#5B103A
RGBrgb(91, 16, 58)
HSLhsl(326, 70%, 21%)
HSVhsv(326, 82%, 36%)
CMYKcmyk(0%, 82.4%, 36.3%, 64.3%)
CIE-LABlab(19.64, 36.95, -6.58)
CIE-LCHlch(19.64, 37.54, 349.91°)
OKLaboklab(32.24% 0.1133 -0.017)
OKLCHoklch(32.24% 0.115 351.4)
XYZxyz(5.2637, 2.9008, 4.2849)
Luminance0.0290 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B103A #105B31
analogous
#56105B #5B103A #5B1014
triadic
#5B103A #3A5B10 #103A5B
tetradic
#5B103A #5B5610 #105B31 #10145B
square
#5B103A #5B5610 #105B31 #10145B
split-complementary
#5B103A #145B10 #105B56
monochromatic
#1A0511 #270719 #5B103A #8F195B #C3227C

Accessibility & contrast

On white

13.29
#5B103A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B103A
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B103A#FFFFFF#000000##FFFFFF
##5B103A1.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E273B
Deuteranopia (green-blind)
#333438
Tritanopia (blue-blind)
#620923
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5b103a;
/* rgb */ color: rgb(91, 16, 58);
/* oklch */ color: oklch(32.2% 0.115 351.4);
Tailwind
colors: {
  custom: {
    50: '#8d5770',
    500: '#5b103a',
    950: '#000000',
  },
}
SCSS
$custom: #5b103a;
$custom-light: #8d5770;
$custom-dark: #000000;
JSON
{
  "hex": "#5b103a",
  "rgb": {
    "r": 91,
    "g": 16,
    "b": 58
  },
  "hsl": {
    "h": 326.4,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32242,
    "c": 0.11452,
    "h": 351.4
  },
  "luminance": 0.029
}

Semantic roles & 50–950 ramp

primary
#5B103A
secondary
#33945E
accent
#ED893B
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0307
muted
#7E787A

Preview Lab

Preview with #5B103A

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

Preview Lab → · Contrast checker → · Palette generator →

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