#5C1937#5C1937

#5C1937 is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.2% C 0.102 H 356.7°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#5C1937
RGBrgb(92, 25, 55)
HSLhsl(333, 57%, 23%)
HSVhsv(333, 73%, 36%)
CMYKcmyk(0%, 72.8%, 40.2%, 63.9%)
CIE-LABlab(21.01, 33.31, -2.42)
CIE-LCHlch(21.01, 33.40, 355.84°)
OKLaboklab(33.24% 0.102 -0.0059)
OKLCHoklch(33.24% 0.102 356.7)
XYZxyz(5.4512, 3.2470, 3.9534)
Luminance0.0325 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1937 #195C3E
analogous
#5C1958 #5C1937 #5C1C19
triadic
#5C1937 #375C19 #19375C
tetradic
#5C1937 #585C19 #195C3E #1C195C
square
#5C1937 #585C19 #195C3E #1C195C
split-complementary
#5C1937 #195C1C #19585C
monochromatic
#18070E #2C0C1A #5C1937 #8C2654 #BC3371

Accessibility & contrast

On white

12.73
#5C1937 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C1937
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1937#FFFFFF#000000##FFFFFF
##5C19371.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252B38
Deuteranopia (green-blind)
#383735
Tritanopia (blue-blind)
#641325
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5c1937;
/* rgb */ color: rgb(92, 25, 55);
/* oklch */ color: oklch(33.2% 0.102 356.7);
Tailwind
colors: {
  custom: {
    50: '#8d5b6d',
    500: '#5c1937',
    950: '#000000',
  },
}
SCSS
$custom: #5c1937;
$custom-light: #8d5b6d;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1937",
  "rgb": {
    "r": 92,
    "g": 25,
    "b": 55
  },
  "hsl": {
    "h": 333.134,
    "s": 57.265,
    "l": 22.941
  },
  "oklch": {
    "l": 0.33243,
    "c": 0.10215,
    "h": 356.7
  },
  "luminance": 0.03246
}

Semantic roles & 50–950 ramp

primary
#5C1937
secondary
#3F926D
accent
#E19C47
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0407
muted
#7E797A

Preview Lab

Preview with #5C1937

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

Preview Lab → · Contrast checker → · Palette generator →

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