#5C1927#5C1927

#5C1927 is a dark, moderate red. Relative luminance 0.031; OKLCH L 32.7% C 0.098 H 12.0°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#5C1927
RGBrgb(92, 25, 39)
HSLhsl(347, 57%, 23%)
HSVhsv(347, 73%, 36%)
CMYKcmyk(0%, 72.8%, 57.6%, 63.9%)
CIE-LABlab(20.51, 31.56, 8.06)
CIE-LCHlch(20.51, 32.58, 14.32°)
OKLaboklab(32.71% 0.0954 0.0204)
OKLCHoklch(32.71% 0.098 12)
XYZxyz(5.1279, 3.1177, 2.2508)
Luminance0.0312 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1927 #195C4E
analogous
#5C1948 #5C1927 #5C2C19
triadic
#5C1927 #275C19 #19275C
tetradic
#5C1927 #485C19 #195C4E #2C195C
square
#5C1927 #485C19 #195C4E #2C195C
split-complementary
#5C1927 #195C2C #19485C
monochromatic
#18070A #2C0C13 #5C1927 #8C263B #BC3350

Accessibility & contrast

On white

12.94
#5C1927 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#5C1927 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1927
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1927#FFFFFF#000000##FFFFFF
##5C19271.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292927
Deuteranopia (green-blind)
#3B3625
Tritanopia (blue-blind)
#650C1F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5c1927;
/* rgb */ color: rgb(92, 25, 39);
/* oklch */ color: oklch(32.7% 0.098 12.0);
Tailwind
colors: {
  custom: {
    50: '#8f5b60',
    500: '#5c1927',
    950: '#000000',
  },
}
SCSS
$custom: #5c1927;
$custom-light: #8f5b60;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1927",
  "rgb": {
    "r": 92,
    "g": 25,
    "b": 39
  },
  "hsl": {
    "h": 347.463,
    "s": 57.265,
    "l": 22.941
  },
  "oklch": {
    "l": 0.32711,
    "c": 0.09758,
    "h": 12
  },
  "luminance": 0.03117
}

Semantic roles & 50–950 ramp

primary
#5C1927
secondary
#3F9281
accent
#E1C047
background
#F9F5F5
surface
#F1E9E9
border
#CBC5C5
text
#0D0405
muted
#7E7979

Preview Lab

Preview with #5C1927

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

Preview Lab → · Contrast checker → · Palette generator →

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