#5C121D#5C121D

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

Color values

HEX#5C121D
RGBrgb(92, 18, 29)
HSLhsl(351, 67%, 22%)
HSVhsv(351, 80%, 36%)
CMYKcmyk(0%, 80.4%, 68.5%, 63.9%)
CIE-LABlab(19.21, 33.70, 13.34)
CIE-LCHlch(19.21, 36.25, 21.60°)
OKLaboklab(31.67% 0.1004 0.0321)
OKLCHoklch(31.67% 0.105 17.7)
XYZxyz(4.8522, 2.7974, 1.4466)
Luminance0.0280 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C121D #125C51
analogous
#5C1242 #5C121D #5C2C12
triadic
#5C121D #1D5C12 #121D5C
tetradic
#5C121D #425C12 #125C51 #2C125C
square
#5C121D #425C12 #125C51 #2C125C
split-complementary
#5C121D #125C2C #12425C
monochromatic
#1A0508 #29080D #5C121D #8F1C2D #C2263D

Accessibility & contrast

On white

13.47
#5C121D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C121D
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C121D#FFFFFF#000000##FFFFFF
##5C121D1.0013.471.5613.47
#FFFFFF13.471.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27251D
Deuteranopia (green-blind)
#3A341B
Tritanopia (blue-blind)
#660017
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5c121d;
/* rgb */ color: rgb(92, 18, 29);
/* oklch */ color: oklch(31.7% 0.105 17.7);
Tailwind
colors: {
  custom: {
    50: '#905758',
    500: '#5c121d',
    950: '#000000',
  },
}
SCSS
$custom: #5c121d;
$custom-light: #905758;
$custom-dark: #000000;
JSON
{
  "hex": "#5c121d",
  "rgb": {
    "r": 92,
    "g": 18,
    "b": 29
  },
  "hsl": {
    "h": 351.081,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31672,
    "c": 0.10535,
    "h": 17.7
  },
  "luminance": 0.02797
}

Semantic roles & 50–950 ramp

primary
#5C121D
secondary
#359486
accent
#EAD13E
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0303
muted
#7E7878

Preview Lab

Preview with #5C121D

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

Preview Lab → · Contrast checker → · Palette generator →

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