#5C1218#5C1218

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

Color values

HEX#5C1218
RGBrgb(92, 18, 24)
HSLhsl(355, 67%, 22%)
HSVhsv(355, 80%, 36%)
CMYKcmyk(0%, 80.4%, 73.9%, 63.9%)
CIE-LABlab(19.12, 33.39, 16.70)
CIE-LCHlch(19.12, 37.33, 26.58°)
OKLaboklab(31.57% 0.0982 0.0389)
OKLCHoklch(31.57% 0.106 21.6)
XYZxyz(4.7953, 2.7746, 1.1470)
Luminance0.0277 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1218 #125C56
analogous
#5C123D #5C1218 #5C3112
triadic
#5C1218 #185C12 #12185C
tetradic
#5C1218 #3D5C12 #125C56 #31125C
square
#5C1218 #3D5C12 #125C56 #31125C
split-complementary
#5C1218 #125C31 #123D5C
monochromatic
#1A0507 #29080B #5C1218 #8F1C25 #C22633

Accessibility & contrast

On white

13.51
#5C1218 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C1218
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1218#FFFFFF#000000##FFFFFF
##5C12181.0013.511.5513.51
#FFFFFF13.511.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282418
Deuteranopia (green-blind)
#3A3416
Tritanopia (blue-blind)
#660015
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5c1218;
/* rgb */ color: rgb(92, 18, 24);
/* oklch */ color: oklch(31.6% 0.106 21.6);
Tailwind
colors: {
  custom: {
    50: '#905754',
    500: '#5c1218',
    950: '#000000',
  },
}
SCSS
$custom: #5c1218;
$custom-light: #905754;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1218",
  "rgb": {
    "r": 92,
    "g": 18,
    "b": 24
  },
  "hsl": {
    "h": 355.135,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.3157,
    "c": 0.10559,
    "h": 21.6
  },
  "luminance": 0.02774
}

Semantic roles & 50–950 ramp

primary
#5C1218
secondary
#35948D
accent
#EADC3E
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878

Preview Lab

Preview with #5C1218

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

Preview Lab → · Contrast checker → · Palette generator →

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