#5F1C0E#5F1C0E

#5F1C0E is a dark, moderate red. Relative luminance 0.033; OKLCH L 33.2% C 0.100 H 33.5°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#5F1C0E
RGBrgb(95, 28, 14)
HSLhsl(10, 74%, 21%)
HSVhsv(10, 85%, 37%)
CMYKcmyk(0%, 70.5%, 85.3%, 62.7%)
CIE-LABlab(21.19, 29.68, 25.42)
CIE-LCHlch(21.19, 39.08, 40.59°)
OKLaboklab(33.19% 0.0838 0.0555)
OKLCHoklch(33.19% 0.1 33.5)
XYZxyz(5.2144, 3.2959, 0.7770)
Luminance0.0330 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1C0E #0E515F
analogous
#5F0E29 #5F1C0E #5F450E
triadic
#5F1C0E #0E5F1C #1C0E5F
tetradic
#5F1C0E #295F0E #0E515F #450E5F
square
#5F1C0E #295F0E #0E515F #450E5F
split-complementary
#5F1C0E #0E5F45 #0E295F
monochromatic
#1B0804 #2A0C06 #5F1C0E #942C16 #CA3B1E

Accessibility & contrast

On white

12.66
#5F1C0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1C0E
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1C0E#FFFFFF#000000##FFFFFF
##5F1C0E1.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2A0C
Deuteranopia (green-blind)
#40380B
Tritanopia (blue-blind)
#690819
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5f1c0e;
/* rgb */ color: rgb(95, 28, 14);
/* oklch */ color: oklch(33.2% 0.100 33.5);
Tailwind
colors: {
  custom: {
    50: '#935c4e',
    500: '#5f1c0e',
    950: '#000000',
  },
}
SCSS
$custom: #5f1c0e;
$custom-light: #935c4e;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1c0e",
  "rgb": {
    "r": 95,
    "g": 28,
    "b": 14
  },
  "hsl": {
    "h": 10.37,
    "s": 74.312,
    "l": 21.373
  },
  "oklch": {
    "l": 0.33192,
    "c": 0.10049,
    "h": 33.5
  },
  "luminance": 0.03295
}

Semantic roles & 50–950 ramp

primary
#5F1C0E
secondary
#308799
accent
#D1F137
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0401
muted
#7E7977

Preview Lab

Preview with #5F1C0E

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

Preview Lab → · Contrast checker → · Palette generator →

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