#5C1222#5C1222

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

Color values

HEX#5C1222
RGBrgb(92, 18, 34)
HSLhsl(347, 67%, 22%)
HSVhsv(347, 80%, 36%)
CMYKcmyk(0%, 80.4%, 63%, 63.9%)
CIE-LABlab(19.33, 34.07, 9.97)
CIE-LCHlch(19.33, 35.50, 16.30°)
OKLaboklab(31.79% 0.1026 0.0246)
OKLCHoklch(31.79% 0.106 13.5)
XYZxyz(4.9192, 2.8241, 1.7991)
Luminance0.0282 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1222 #125C4C
analogous
#5C1247 #5C1222 #5C2712
triadic
#5C1222 #225C12 #12225C
tetradic
#5C1222 #475C12 #125C4C #27125C
square
#5C1222 #475C12 #125C4C #27125C
split-complementary
#5C1222 #125C27 #12475C
monochromatic
#1A0509 #29080F #5C1222 #8F1C35 #C22648

Accessibility & contrast

On white

13.42
#5C1222 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C1222
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1222#FFFFFF#000000##FFFFFF
##5C12221.0013.421.5613.42
#FFFFFF13.421.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262522
Deuteranopia (green-blind)
#393420
Tritanopia (blue-blind)
#650019
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5c1222;
/* rgb */ color: rgb(92, 18, 34);
/* oklch */ color: oklch(31.8% 0.106 13.5);
Tailwind
colors: {
  custom: {
    50: '#8f575c',
    500: '#5c1222',
    950: '#000000',
  },
}
SCSS
$custom: #5c1222;
$custom-light: #8f575c;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1222",
  "rgb": {
    "r": 92,
    "g": 18,
    "b": 34
  },
  "hsl": {
    "h": 347.027,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31791,
    "c": 0.10551,
    "h": 13.5
  },
  "luminance": 0.02823
}

Semantic roles & 50–950 ramp

primary
#5C1222
secondary
#359480
accent
#EAC53E
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0304
muted
#7E7879

Preview Lab

Preview with #5C1222

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

Preview Lab → · Contrast checker → · Palette generator →

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