#5B183F#5B183F

#5B183F is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.3% C 0.107 H 348.6°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#5B183F
RGBrgb(91, 24, 63)
HSLhsl(325, 58%, 23%)
HSVhsv(325, 74%, 36%)
CMYKcmyk(0%, 73.6%, 30.8%, 64.3%)
CIE-LABlab(20.97, 34.50, -8.05)
CIE-LCHlch(20.97, 35.42, 346.87°)
OKLaboklab(33.28% 0.1049 -0.0211)
OKLCHoklch(33.28% 0.107 348.6)
XYZxyz(5.5385, 3.2369, 5.0348)
Luminance0.0324 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B183F #185B34
analogous
#56185B #5B183F #5B181D
triadic
#5B183F #3F5B18 #183F5B
tetradic
#5B183F #5B5618 #185B34 #181D5B
square
#5B183F #5B5618 #185B34 #181D5B
split-complementary
#5B183F #1D5B18 #185B56
monochromatic
#180611 #2B0B1D #5B183F #8B2561 #BC3282

Accessibility & contrast

On white

12.75
#5B183F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#5B183F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B183F
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B183F#FFFFFF#000000##FFFFFF
##5B183F1.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212B40
Deuteranopia (green-blind)
#34373D
Tritanopia (blue-blind)
#621529
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5b183f;
/* rgb */ color: rgb(91, 24, 63);
/* oklch */ color: oklch(33.3% 0.107 348.6);
Tailwind
colors: {
  custom: {
    50: '#8c5b74',
    500: '#5b183f',
    950: '#000000',
  },
}
SCSS
$custom: #5b183f;
$custom-light: #8c5b74;
$custom-dark: #000000;
JSON
{
  "hex": "#5b183f",
  "rgb": {
    "r": 91,
    "g": 24,
    "b": 63
  },
  "hsl": {
    "h": 325.075,
    "s": 58.261,
    "l": 22.549
  },
  "oklch": {
    "l": 0.33281,
    "c": 0.10699,
    "h": 348.6
  },
  "luminance": 0.03236
}

Semantic roles & 50–950 ramp

primary
#5B183F
secondary
#3D9260
accent
#E18746
background
#F8F5F7
surface
#F0E9ED
border
#CBC5C8
text
#0C0408
muted
#7D797B

Preview Lab

Preview with #5B183F

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

Preview Lab → · Contrast checker → · Palette generator →

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