#5C1F0F#5C1F0F

#5C1F0F is a dark, moderate red. Relative luminance 0.033; OKLCH L 33.1% C 0.093 H 35.6°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#5C1F0F
RGBrgb(92, 31, 15)
HSLhsl(12, 72%, 21%)
HSVhsv(12, 84%, 36%)
CMYKcmyk(0%, 66.3%, 83.7%, 63.9%)
CIE-LABlab(21.17, 27.00, 24.71)
CIE-LCHlch(21.17, 36.61, 42.46°)
OKLaboklab(33.07% 0.0761 0.0544)
OKLCHoklch(33.07% 0.093 35.6)
XYZxyz(4.9904, 3.2905, 0.8242)
Luminance0.0329 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C1F0F #0F4C5C
analogous
#5C0F25 #5C1F0F #5C450F
triadic
#5C1F0F #0F5C1F #1F0F5C
tetradic
#5C1F0F #255C0F #0F4C5C #450F5C
square
#5C1F0F #255C0F #0F4C5C #450F5C
split-complementary
#5C1F0F #0F5C45 #0F255C
monochromatic
#1A0904 #270D06 #5C1F0F #913118 #C54220

Accessibility & contrast

On white

12.67
#5C1F0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#5C1F0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5C1F0F
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C1F0F#FFFFFF#000000##FFFFFF
##5C1F0F1.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A0D
Deuteranopia (green-blind)
#3F380D
Tritanopia (blue-blind)
#66101C
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5c1f0f;
/* rgb */ color: rgb(92, 31, 15);
/* oklch */ color: oklch(33.1% 0.093 35.6);
Tailwind
colors: {
  custom: {
    50: '#905d4e',
    500: '#5c1f0f',
    950: '#000000',
  },
}
SCSS
$custom: #5c1f0f;
$custom-light: #905d4e;
$custom-dark: #000000;
JSON
{
  "hex": "#5c1f0f",
  "rgb": {
    "r": 92,
    "g": 31,
    "b": 15
  },
  "hsl": {
    "h": 12.468,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.33069,
    "c": 0.09349,
    "h": 35.6
  },
  "luminance": 0.0329
}

Semantic roles & 50–950 ramp

primary
#5C1F0F
secondary
#318195
accent
#C9EF39
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0401
muted
#7E7977

Preview Lab

Preview with #5C1F0F

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

Preview Lab → · Contrast checker → · Palette generator →

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