#5C120D#5C120D

#5C120D is a dark, moderate red. Relative luminance 0.027; OKLCH L 31.4% C 0.107 H 28.7°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#5C120D
RGBrgb(92, 18, 13)
HSLhsl(4, 75%, 21%)
HSVhsv(4, 86%, 36%)
CMYKcmyk(0%, 80.4%, 85.9%, 63.9%)
CIE-LABlab(18.96, 32.87, 23.23)
CIE-LCHlch(18.96, 40.25, 35.25°)
OKLaboklab(31.4% 0.0939 0.0514)
OKLCHoklch(31.4% 0.107 28.7)
XYZxyz(4.7031, 2.7377, 0.6615)
Luminance0.0274 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C120D #0D575C
analogous
#5C0D30 #5C120D #5C390D
triadic
#5C120D #0D5C12 #120D5C
tetradic
#5C120D #305C0D #0D575C #390D5C
square
#5C120D #305C0D #0D575C #390D5C
split-complementary
#5C120D #0D5C39 #0D305C
monochromatic
#1B0504 #260805 #5C120D #921C15 #C7271C

Accessibility & contrast

On white

13.57
#5C120D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5C120D
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C120D#FFFFFF#000000##FFFFFF
##5C120D1.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29240C
Deuteranopia (green-blind)
#3B340A
Tritanopia (blue-blind)
#660012
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #5c120d;
/* rgb */ color: rgb(92, 18, 13);
/* oklch */ color: oklch(31.4% 0.107 28.7);
Tailwind
colors: {
  custom: {
    50: '#91574c',
    500: '#5c120d',
    950: '#000000',
  },
}
SCSS
$custom: #5c120d;
$custom-light: #91574c;
$custom-dark: #000000;
JSON
{
  "hex": "#5c120d",
  "rgb": {
    "r": 92,
    "g": 18,
    "b": 13
  },
  "hsl": {
    "h": 3.797,
    "s": 75.238,
    "l": 20.588
  },
  "oklch": {
    "l": 0.31403,
    "c": 0.10702,
    "h": 28.7
  },
  "luminance": 0.02737
}

Semantic roles & 50–950 ramp

primary
#5C120D
secondary
#2F9096
accent
#E6F236
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0301
muted
#7E7877

Preview Lab

Preview with #5C120D

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

Preview Lab → · Contrast checker → · Palette generator →

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