#5C1121#5C1121

#5C1121 is a dark, moderate red. Relative luminance 0.028; OKLCH L 31.7% C 0.106 H 14.0°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#5C1121
RGBrgb(92, 17, 33)
HSLhsl(347, 69%, 21%)
HSVhsv(347, 82%, 36%)
CMYKcmyk(0%, 81.5%, 64.1%, 63.9%)
CIE-LABlab(19.17, 34.36, 10.46)
CIE-LCHlch(19.17, 35.92, 16.93°)
OKLaboklab(31.67% 0.1033 0.0257)
OKLCHoklch(31.67% 0.107 14)
XYZxyz(4.8891, 2.7867, 1.7190)
Luminance0.0279 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1121 #115C4C
analogous
#5C1147 #5C1121 #5C2711
triadic
#5C1121 #215C11 #11215C
tetradic
#5C1121 #475C11 #115C4C #27115C
square
#5C1121 #475C11 #115C4C #27115C
split-complementary
#5C1121 #115C27 #11475C
monochromatic
#1A0509 #28070E #5C1121 #901B34 #C32446

Accessibility & contrast

On white

13.49
#5C1121 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#5C1121 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1121
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1121#FFFFFF#000000##FFFFFF
##5C11211.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262521
Deuteranopia (green-blind)
#39341F
Tritanopia (blue-blind)
#650018
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5c1121;
/* rgb */ color: rgb(92, 17, 33);
/* oklch */ color: oklch(31.7% 0.106 14.0);
Tailwind
colors: {
  custom: {
    50: '#90575b',
    500: '#5c1121',
    950: '#000000',
  },
}
SCSS
$custom: #5c1121;
$custom-light: #90575b;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1121",
  "rgb": {
    "r": 92,
    "g": 17,
    "b": 33
  },
  "hsl": {
    "h": 347.2,
    "s": 68.807,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31667,
    "c": 0.1065,
    "h": 14
  },
  "luminance": 0.02786
}

Semantic roles & 50–950 ramp

primary
#5C1121
secondary
#349580
accent
#ECC63C
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0304
muted
#7E7879

Preview Lab

Preview with #5C1121

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

Preview Lab → · Contrast checker → · Palette generator →

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