#5B103F#5B103F

#5B103F is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.5% C 0.117 H 347.4°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#5B103F
RGBrgb(91, 16, 63)
HSLhsl(322, 70%, 21%)
HSVhsv(322, 82%, 36%)
CMYKcmyk(0%, 82.4%, 30.8%, 64.3%)
CIE-LABlab(19.86, 37.61, -9.73)
CIE-LCHlch(19.86, 38.85, 345.49°)
OKLaboklab(32.47% 0.1146 -0.0257)
OKLCHoklch(32.47% 0.117 347.4)
XYZxyz(5.3971, 2.9542, 4.9877)
Luminance0.0295 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B103F #105B2C
analogous
#51105B #5B103F #5B1019
triadic
#5B103F #3F5B10 #103F5B
tetradic
#5B103F #5B5110 #105B2C #10195B
square
#5B103F #5B5110 #105B2C #10195B
split-complementary
#5B103F #195B10 #105B51
monochromatic
#1A0512 #27071B #5B103F #8F1963 #C32287

Accessibility & contrast

On white

13.20
#5B103F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B103F
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B103F#FFFFFF#000000##FFFFFF
##5B103F1.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2840
Deuteranopia (green-blind)
#32353D
Tritanopia (blue-blind)
#620D26
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5b103f;
/* rgb */ color: rgb(91, 16, 63);
/* oklch */ color: oklch(32.5% 0.117 347.4);
Tailwind
colors: {
  custom: {
    50: '#8d5774',
    500: '#5b103f',
    950: '#000000',
  },
}
SCSS
$custom: #5b103f;
$custom-light: #8d5774;
$custom-dark: #000000;
JSON
{
  "hex": "#5b103f",
  "rgb": {
    "r": 91,
    "g": 16,
    "b": 63
  },
  "hsl": {
    "h": 322.4,
    "s": 70.093,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32471,
    "c": 0.11744,
    "h": 347.4
  },
  "luminance": 0.02954
}

Semantic roles & 50–950 ramp

primary
#5B103F
secondary
#339457
accent
#ED7D3B
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0D0408
muted
#7D797B

Preview Lab

Preview with #5B103F

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

Preview Lab → · Contrast checker → · Palette generator →

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