#5C121A#5C121A

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

Color values

HEX#5C121A
RGBrgb(92, 18, 26)
HSLhsl(354, 67%, 22%)
HSVhsv(354, 80%, 36%)
CMYKcmyk(0%, 80.4%, 71.7%, 63.9%)
CIE-LABlab(19.15, 33.51, 15.36)
CIE-LCHlch(19.15, 36.86, 24.63°)
OKLaboklab(31.61% 0.099 0.0362)
OKLCHoklch(31.61% 0.105 20.1)
XYZxyz(4.8169, 2.7832, 1.2607)
Luminance0.0278 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C121A #125C54
analogous
#5C123F #5C121A #5C2F12
triadic
#5C121A #1A5C12 #121A5C
tetradic
#5C121A #3F5C12 #125C54 #2F125C
square
#5C121A #3F5C12 #125C54 #2F125C
split-complementary
#5C121A #125C2F #123F5C
monochromatic
#1A0507 #29080C #5C121A #8F1C28 #C22637

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C121A#FFFFFF#000000##FFFFFF
##5C121A1.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)
#27241A
Deuteranopia (green-blind)
#3A3418
Tritanopia (blue-blind)
#660016
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5c121a;
/* rgb */ color: rgb(92, 18, 26);
/* oklch */ color: oklch(31.6% 0.105 20.1);
Tailwind
colors: {
  custom: {
    50: '#905756',
    500: '#5c121a',
    950: '#000000',
  },
}
SCSS
$custom: #5c121a;
$custom-light: #905756;
$custom-dark: #000000;
JSON
{
  "hex": "#5c121a",
  "rgb": {
    "r": 92,
    "g": 18,
    "b": 26
  },
  "hsl": {
    "h": 353.514,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31608,
    "c": 0.10545,
    "h": 20.1
  },
  "luminance": 0.02783
}

Semantic roles & 50–950 ramp

primary
#5C121A
secondary
#35948A
accent
#EAD83E
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0303
muted
#7E7878

Preview Lab

Preview with #5C121A

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

Preview Lab → · Contrast checker → · Palette generator →

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