#5C121F#5C121F

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

Color values

HEX#5C121F
RGBrgb(92, 18, 31)
HSLhsl(349, 67%, 22%)
HSVhsv(349, 80%, 36%)
CMYKcmyk(0%, 80.4%, 66.3%, 63.9%)
CIE-LABlab(19.26, 33.84, 11.99)
CIE-LCHlch(19.26, 35.90, 19.51°)
OKLaboklab(31.72% 0.1013 0.0291)
OKLCHoklch(31.72% 0.105 16.1)
XYZxyz(4.8778, 2.8076, 1.5811)
Luminance0.0281 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C121F #125C4F
analogous
#5C1244 #5C121F #5C2A12
triadic
#5C121F #1F5C12 #121F5C
tetradic
#5C121F #445C12 #125C4F #2A125C
square
#5C121F #445C12 #125C4F #2A125C
split-complementary
#5C121F #125C2A #12445C
monochromatic
#1A0509 #29080E #5C121F #8F1C30 #C22641

Accessibility & contrast

On white

13.45
#5C121F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C121F
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C121F#FFFFFF#000000##FFFFFF
##5C121F1.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27251F
Deuteranopia (green-blind)
#39341D
Tritanopia (blue-blind)
#650018
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5c121f;
/* rgb */ color: rgb(92, 18, 31);
/* oklch */ color: oklch(31.7% 0.105 16.1);
Tailwind
colors: {
  custom: {
    50: '#90575a',
    500: '#5c121f',
    950: '#000000',
  },
}
SCSS
$custom: #5c121f;
$custom-light: #90575a;
$custom-dark: #000000;
JSON
{
  "hex": "#5c121f",
  "rgb": {
    "r": 92,
    "g": 18,
    "b": 31
  },
  "hsl": {
    "h": 349.459,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.31717,
    "c": 0.10536,
    "h": 16.1
  },
  "luminance": 0.02807
}

Semantic roles & 50–950 ramp

primary
#5C121F
secondary
#359484
accent
#EACC3E
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0D0303
muted
#7E7878

Preview Lab

Preview with #5C121F

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

Preview Lab → · Contrast checker → · Palette generator →

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