#5B113F#5B113F

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

Color values

HEX#5B113F
RGBrgb(91, 17, 63)
HSLhsl(323, 69%, 21%)
HSVhsv(323, 81%, 36%)
CMYKcmyk(0%, 81.3%, 30.8%, 64.3%)
CIE-LABlab(19.98, 37.27, -9.55)
CIE-LCHlch(19.98, 38.47, 345.63°)
OKLaboklab(32.56% 0.1135 -0.0252)
OKLCHoklch(32.56% 0.116 347.5)
XYZxyz(5.4123, 2.9845, 4.9927)
Luminance0.0298 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B113F #115B2D
analogous
#52115B #5B113F #5B111A
triadic
#5B113F #3F5B11 #113F5B
tetradic
#5B113F #5B5211 #115B2D #111A5B
square
#5B113F #5B5211 #115B2D #111A5B
split-complementary
#5B113F #1A5B11 #115B52
monochromatic
#1A0512 #27071B #5B113F #8F1B63 #C22486

Accessibility & contrast

On white

13.15
#5B113F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#5B113F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B113F
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B113F#FFFFFF#000000##FFFFFF
##5B113F1.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b113f;
/* rgb */ color: rgb(91, 17, 63);
/* oklch */ color: oklch(32.6% 0.116 347.5);
Tailwind
colors: {
  custom: {
    50: '#8d5874',
    500: '#5b113f',
    950: '#000000',
  },
}
SCSS
$custom: #5b113f;
$custom-light: #8d5874;
$custom-dark: #000000;
JSON
{
  "hex": "#5b113f",
  "rgb": {
    "r": 91,
    "g": 17,
    "b": 63
  },
  "hsl": {
    "h": 322.703,
    "s": 68.519,
    "l": 21.176
  },
  "oklch": {
    "l": 0.3256,
    "c": 0.11627,
    "h": 347.5
  },
  "luminance": 0.02984
}

Semantic roles & 50–950 ramp

primary
#5B113F
secondary
#349458
accent
#EB7F3C
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0D0408
muted
#7D797B

Preview Lab

Preview with #5B113F

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

Preview Lab → · Contrast checker → · Palette generator →

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