#5C121E#5C121E

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

Color values

HEX#5C121E
RGBrgb(92, 18, 30)
HSLhsl(350, 67%, 22%)
HSVhsv(350, 80%, 36%)
CMYKcmyk(0%, 80.4%, 67.4%, 63.9%)
CIE-LABlab(19.23, 33.77, 12.67)
CIE-LCHlch(19.23, 36.07, 20.56°)
OKLaboklab(31.69% 0.1008 0.0306)
OKLCHoklch(31.69% 0.105 16.9)
XYZxyz(4.8648, 2.8024, 1.5128)
Luminance0.0280 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C121E #125C50
analogous
#5C1243 #5C121E #5C2B12
triadic
#5C121E #1E5C12 #121E5C
tetradic
#5C121E #435C12 #125C50 #2B125C
square
#5C121E #435C12 #125C50 #2B125C
split-complementary
#5C121E #125C2B #12435C
monochromatic
#1A0508 #29080D #5C121E #8F1C2F #C2263F

Accessibility & contrast

On white

13.46
#5C121E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C121E
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C121E#FFFFFF#000000##FFFFFF
##5C121E1.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27251E
Deuteranopia (green-blind)
#39341C
Tritanopia (blue-blind)
#660017
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5c121e;
/* rgb */ color: rgb(92, 18, 30);
/* oklch */ color: oklch(31.7% 0.105 16.9);
Tailwind
colors: {
  custom: {
    50: '#905759',
    500: '#5c121e',
    950: '#000000',
  },
}
SCSS
$custom: #5c121e;
$custom-light: #905759;
$custom-dark: #000000;
JSON
{
  "hex": "#5c121e",
  "rgb": {
    "r": 92,
    "g": 18,
    "b": 30
  },
  "hsl": {
    "h": 350.27,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31694,
    "c": 0.10535,
    "h": 16.9
  },
  "luminance": 0.02802
}

Semantic roles & 50–950 ramp

primary
#5C121E
secondary
#359485
accent
#EACE3E
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0303
muted
#7E7878

Preview Lab

Preview with #5C121E

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

Preview Lab → · Contrast checker → · Palette generator →

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