#5F1F0E#5F1F0E

#5F1F0E is a dark, moderate red. Relative luminance 0.034; OKLCH L 33.6% C 0.097 H 35.6°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#5F1F0E
RGBrgb(95, 31, 14)
HSLhsl(13, 74%, 21%)
HSVhsv(13, 85%, 37%)
CMYKcmyk(0%, 67.4%, 85.3%, 62.7%)
CIE-LABlab(21.75, 28.20, 26.02)
CIE-LCHlch(21.75, 38.37, 42.71°)
OKLaboklab(33.61% 0.0792 0.0567)
OKLCHoklch(33.61% 0.097 35.6)
XYZxyz(5.2892, 3.4453, 0.8019)
Luminance0.0345 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1F0E #0E4E5F
analogous
#5F0E26 #5F1F0E #5F480E
triadic
#5F1F0E #0E5F1F #1F0E5F
tetradic
#5F1F0E #265F0E #0E4E5F #480E5F
square
#5F1F0E #265F0E #0E4E5F #480E5F
split-complementary
#5F1F0E #0E5F48 #0E265F
monochromatic
#1B0904 #2A0E06 #5F1F0E #943016 #CA421E

Accessibility & contrast

On white

12.43
#5F1F0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#5F1F0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1F0E
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1F0E#FFFFFF#000000##FFFFFF
##5F1F0E1.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312B0C
Deuteranopia (green-blind)
#41390B
Tritanopia (blue-blind)
#690E1C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5f1f0e;
/* rgb */ color: rgb(95, 31, 14);
/* oklch */ color: oklch(33.6% 0.097 35.6);
Tailwind
colors: {
  custom: {
    50: '#935e4e',
    500: '#5f1f0e',
    950: '#000000',
  },
}
SCSS
$custom: #5f1f0e;
$custom-light: #935e4e;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1f0e",
  "rgb": {
    "r": 95,
    "g": 31,
    "b": 14
  },
  "hsl": {
    "h": 12.593,
    "s": 74.312,
    "l": 21.373
  },
  "oklch": {
    "l": 0.33609,
    "c": 0.09739,
    "h": 35.6
  },
  "luminance": 0.03445
}

Semantic roles & 50–950 ramp

primary
#5F1F0E
secondary
#308399
accent
#CAF137
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0401
muted
#7E7977

Preview Lab

Preview with #5F1F0E

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

Preview Lab → · Contrast checker → · Palette generator →

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