#5C1213#5C1213

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

Color values

HEX#5C1213
RGBrgb(92, 18, 19)
HSLhsl(359, 67%, 22%)
HSVhsv(359, 80%, 36%)
CMYKcmyk(0%, 80.4%, 79.3%, 63.9%)
CIE-LABlab(19.04, 33.12, 19.98)
CIE-LCHlch(19.04, 38.68, 31.10°)
OKLaboklab(31.49% 0.0961 0.0451)
OKLCHoklch(31.49% 0.106 25.1)
XYZxyz(4.7480, 2.7557, 0.8979)
Luminance0.0276 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1213 #125C5B
analogous
#5C1238 #5C1213 #5C3612
triadic
#5C1213 #135C12 #12135C
tetradic
#5C1213 #385C12 #125C5B #36125C
square
#5C1213 #385C12 #125C5B #36125C
split-complementary
#5C1213 #125C36 #12385C
monochromatic
#1A0505 #290808 #5C1213 #8F1C1E #C22628

Accessibility & contrast

On white

13.54
#5C1213 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#5C1213 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1213
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1213#FFFFFF#000000##FFFFFF
##5C12131.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282412
Deuteranopia (green-blind)
#3B3410
Tritanopia (blue-blind)
#660013
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5c1213;
/* rgb */ color: rgb(92, 18, 19);
/* oklch */ color: oklch(31.5% 0.106 25.1);
Tailwind
colors: {
  custom: {
    50: '#915750',
    500: '#5c1213',
    950: '#000000',
  },
}
SCSS
$custom: #5c1213;
$custom-light: #915750;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1213",
  "rgb": {
    "r": 92,
    "g": 18,
    "b": 19
  },
  "hsl": {
    "h": 359.189,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31485,
    "c": 0.10613,
    "h": 25.1
  },
  "luminance": 0.02755
}

Semantic roles & 50–950 ramp

primary
#5C1213
secondary
#359493
accent
#EAE83E
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878

Preview Lab

Preview with #5C1213

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

Preview Lab → · Contrast checker → · Palette generator →

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