#5F1D0E#5F1D0E

#5F1D0E is a dark, moderate red. Relative luminance 0.033; OKLCH L 33.3% C 0.099 H 34.2°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#5F1D0E
RGBrgb(95, 29, 14)
HSLhsl(11, 74%, 21%)
HSVhsv(11, 85%, 37%)
CMYKcmyk(0%, 69.5%, 85.3%, 62.7%)
CIE-LABlab(21.37, 29.19, 25.62)
CIE-LCHlch(21.37, 38.84, 41.27°)
OKLaboklab(33.33% 0.0823 0.0559)
OKLCHoklch(33.33% 0.099 34.2)
XYZxyz(5.2385, 3.3441, 0.7850)
Luminance0.0334 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1D0E #0E505F
analogous
#5F0E28 #5F1D0E #5F460E
triadic
#5F1D0E #0E5F1D #1D0E5F
tetradic
#5F1D0E #285F0E #0E505F #460E5F
square
#5F1D0E #285F0E #0E505F #460E5F
split-complementary
#5F1D0E #0E5F46 #0E285F
monochromatic
#1B0804 #2A0D06 #5F1D0E #942D16 #CA3E1E

Accessibility & contrast

On white

12.59
#5F1D0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#5F1D0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1D0E
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1D0E#FFFFFF#000000##FFFFFF
##5F1D0E1.0012.591.6712.59
#FFFFFF12.591.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302A0C
Deuteranopia (green-blind)
#40390B
Tritanopia (blue-blind)
#690A1A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5f1d0e;
/* rgb */ color: rgb(95, 29, 14);
/* oklch */ color: oklch(33.3% 0.099 34.2);
Tailwind
colors: {
  custom: {
    50: '#935d4e',
    500: '#5f1d0e',
    950: '#000000',
  },
}
SCSS
$custom: #5f1d0e;
$custom-light: #935d4e;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1d0e",
  "rgb": {
    "r": 95,
    "g": 29,
    "b": 14
  },
  "hsl": {
    "h": 11.111,
    "s": 74.312,
    "l": 21.373
  },
  "oklch": {
    "l": 0.33328,
    "c": 0.09946,
    "h": 34.2
  },
  "luminance": 0.03343
}

Semantic roles & 50–950 ramp

primary
#5F1D0E
secondary
#308599
accent
#CEF137
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0401
muted
#7E7977

Preview Lab

Preview with #5F1D0E

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

Preview Lab → · Contrast checker → · Palette generator →

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