#5F1F0C#5F1F0C

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

Color values

HEX#5F1F0C
RGBrgb(95, 31, 12)
HSLhsl(14, 78%, 21%)
HSVhsv(14, 87%, 37%)
CMYKcmyk(0%, 67.4%, 87.4%, 62.7%)
CIE-LABlab(21.73, 28.12, 26.96)
CIE-LCHlch(21.73, 38.96, 43.80°)
OKLaboklab(33.59% 0.0786 0.0584)
OKLCHoklch(33.59% 0.098 36.6)
XYZxyz(5.2763, 3.4402, 0.7339)
Luminance0.0344 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1F0C #0C4C5F
analogous
#5F0C22 #5F1F0C #5F480C
triadic
#5F1F0C #0C5F1F #1F0C5F
tetradic
#5F1F0C #225F0C #0C4C5F #480C5F
square
#5F1F0C #225F0C #0C4C5F #480C5F
split-complementary
#5F1F0C #0C5F48 #0C225F
monochromatic
#1B0903 #290D05 #5F1F0C #953113 #CC421A

Accessibility & contrast

On white

12.44
#5F1F0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1F0C
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1F0C#FFFFFF#000000##FFFFFF
##5F1F0C1.0012.441.6912.44
#FFFFFF12.441.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312B09
Deuteranopia (green-blind)
#413909
Tritanopia (blue-blind)
#690E1B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5f1f0c;
/* rgb */ color: rgb(95, 31, 12);
/* oklch */ color: oklch(33.6% 0.098 36.6);
Tailwind
colors: {
  custom: {
    50: '#935e4d',
    500: '#5f1f0c',
    950: '#000000',
  },
}
SCSS
$custom: #5f1f0c;
$custom-light: #935e4d;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1f0c",
  "rgb": {
    "r": 95,
    "g": 31,
    "b": 12
  },
  "hsl": {
    "h": 13.735,
    "s": 77.57,
    "l": 20.98
  },
  "oklch": {
    "l": 0.33589,
    "c": 0.09788,
    "h": 36.6
  },
  "luminance": 0.03439
}

Semantic roles & 50–950 ramp

primary
#5F1F0C
secondary
#2D8199
accent
#C8F434
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0401
muted
#7E7977

Preview Lab

Preview with #5F1F0C

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

Preview Lab → · Contrast checker → · Palette generator →

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