#5B192F#5B192F

#5B192F is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.8% C 0.098 H 3.9°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#5B192F
RGBrgb(91, 25, 47)
HSLhsl(340, 57%, 23%)
HSVhsv(340, 73%, 36%)
CMYKcmyk(0%, 72.5%, 48.4%, 64.3%)
CIE-LABlab(20.54, 32.02, 2.46)
CIE-LCHlch(20.54, 32.11, 4.40°)
OKLaboklab(32.77% 0.0978 0.0067)
OKLCHoklch(32.77% 0.098 3.9)
XYZxyz(5.1755, 3.1253, 3.0195)
Luminance0.0313 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B192F #195B45
analogous
#5B1950 #5B192F #5B2419
triadic
#5B192F #2F5B19 #192F5B
tetradic
#5B192F #505B19 #195B45 #24195B
square
#5B192F #505B19 #195B45 #24195B
split-complementary
#5B192F #195B24 #19505B
monochromatic
#18070C #2B0C16 #5B192F #8B2648 #BB3361

Accessibility & contrast

On white

12.92
#5B192F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#5B192F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5B192F
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B192F#FFFFFF#000000##FFFFFF
##5B192F1.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272930
Deuteranopia (green-blind)
#39362D
Tritanopia (blue-blind)
#631022
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5b192f;
/* rgb */ color: rgb(91, 25, 47);
/* oklch */ color: oklch(32.8% 0.098 3.9);
Tailwind
colors: {
  custom: {
    50: '#8d5b67',
    500: '#5b192f',
    950: '#000000',
  },
}
SCSS
$custom: #5b192f;
$custom-light: #8d5b67;
$custom-dark: #000000;
JSON
{
  "hex": "#5b192f",
  "rgb": {
    "r": 91,
    "g": 25,
    "b": 47
  },
  "hsl": {
    "h": 340,
    "s": 56.897,
    "l": 22.745
  },
  "oklch": {
    "l": 0.3277,
    "c": 0.09806,
    "h": 3.9
  },
  "luminance": 0.03125
}

Semantic roles & 50–950 ramp

primary
#5B192F
secondary
#3F9176
accent
#E0AD48
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5B192F

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

Preview Lab → · Contrast checker → · Palette generator →

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