#5C121B#5C121B

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

Color values

HEX#5C121B
RGBrgb(92, 18, 27)
HSLhsl(353, 67%, 22%)
HSVhsv(353, 80%, 36%)
CMYKcmyk(0%, 80.4%, 70.7%, 63.9%)
CIE-LABlab(19.17, 33.57, 14.69)
CIE-LCHlch(19.17, 36.64, 23.64°)
OKLaboklab(31.63% 0.0995 0.0349)
OKLCHoklch(31.63% 0.105 19.3)
XYZxyz(4.8283, 2.7878, 1.3206)
Luminance0.0279 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C121B #125C53
analogous
#5C1240 #5C121B #5C2E12
triadic
#5C121B #1B5C12 #121B5C
tetradic
#5C121B #405C12 #125C53 #2E125C
square
#5C121B #405C12 #125C53 #2E125C
split-complementary
#5C121B #125C2E #12405C
monochromatic
#1A0508 #29080C #5C121B #8F1C2A #C22639

Accessibility & contrast

On white

13.48
#5C121B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C121B
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C121B#FFFFFF#000000##FFFFFF
##5C121B1.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27251B
Deuteranopia (green-blind)
#3A3419
Tritanopia (blue-blind)
#660016
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5c121b;
/* rgb */ color: rgb(92, 18, 27);
/* oklch */ color: oklch(31.6% 0.105 19.3);
Tailwind
colors: {
  custom: {
    50: '#905757',
    500: '#5c121b',
    950: '#000000',
  },
}
SCSS
$custom: #5c121b;
$custom-light: #905757;
$custom-dark: #000000;
JSON
{
  "hex": "#5c121b",
  "rgb": {
    "r": 92,
    "g": 18,
    "b": 27
  },
  "hsl": {
    "h": 352.703,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31629,
    "c": 0.1054,
    "h": 19.3
  },
  "luminance": 0.02787
}

Semantic roles & 50–950 ramp

primary
#5C121B
secondary
#359489
accent
#EAD53E
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0303
muted
#7E7878

Preview Lab

Preview with #5C121B

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

Preview Lab → · Contrast checker → · Palette generator →

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