#5B113E#5B113E

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

Color values

HEX#5B113E
RGBrgb(91, 17, 62)
HSLhsl(324, 69%, 21%)
HSVhsv(324, 81%, 36%)
CMYKcmyk(0%, 81.3%, 31.9%, 64.3%)
CIE-LABlab(19.94, 37.13, -8.92)
CIE-LCHlch(19.94, 38.19, 346.49°)
OKLaboklab(32.51% 0.1133 -0.0234)
OKLCHoklch(32.51% 0.116 348.3)
XYZxyz(5.3846, 2.9735, 4.8469)
Luminance0.0297 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B113E #115B2E
analogous
#53115B #5B113E #5B1119
triadic
#5B113E #3E5B11 #113E5B
tetradic
#5B113E #5B5311 #115B2E #11195B
square
#5B113E #5B5311 #115B2E #11195B
split-complementary
#5B113E #195B11 #115B53
monochromatic
#1A0512 #27071B #5B113E #8F1B61 #C22484

Accessibility & contrast

On white

13.17
#5B113E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B113E
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B113E#FFFFFF#000000##FFFFFF
##5B113E1.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b113e;
/* rgb */ color: rgb(91, 17, 62);
/* oklch */ color: oklch(32.5% 0.116 348.3);
Tailwind
colors: {
  custom: {
    50: '#8d5873',
    500: '#5b113e',
    950: '#000000',
  },
}
SCSS
$custom: #5b113e;
$custom-light: #8d5873;
$custom-dark: #000000;
JSON
{
  "hex": "#5b113e",
  "rgb": {
    "r": 91,
    "g": 17,
    "b": 62
  },
  "hsl": {
    "h": 323.514,
    "s": 68.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32513,
    "c": 0.11566,
    "h": 348.3
  },
  "luminance": 0.02973
}

Semantic roles & 50–950 ramp

primary
#5B113E
secondary
#34945A
accent
#EB813C
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0D0408
muted
#7D797B

Preview Lab

Preview with #5B113E

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

Preview Lab → · Contrast checker → · Palette generator →

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