#5F1F0F#5F1F0F

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

Color values

HEX#5F1F0F
RGBrgb(95, 31, 15)
HSLhsl(12, 73%, 22%)
HSVhsv(12, 84%, 37%)
CMYKcmyk(0%, 67.4%, 84.2%, 62.7%)
CIE-LABlab(21.76, 28.23, 25.52)
CIE-LCHlch(21.76, 38.06, 42.11°)
OKLaboklab(33.62% 0.0795 0.0558)
OKLCHoklch(33.62% 0.097 35.1)
XYZxyz(5.2961, 3.4481, 0.8385)
Luminance0.0345 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1F0F #0F4F5F
analogous
#5F0F27 #5F1F0F #5F470F
triadic
#5F1F0F #0F5F1F #1F0F5F
tetradic
#5F1F0F #275F0F #0F4F5F #470F5F
square
#5F1F0F #275F0F #0F4F5F #470F5F
split-complementary
#5F1F0F #0F5F47 #0F275F
monochromatic
#1A0904 #2A0E07 #5F1F0F #943017 #C94120

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F1F0F#FFFFFF#000000##FFFFFF
##5F1F0F1.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)
#312B0D
Deuteranopia (green-blind)
#41390D
Tritanopia (blue-blind)
#690E1C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5f1f0f;
/* rgb */ color: rgb(95, 31, 15);
/* oklch */ color: oklch(33.6% 0.097 35.1);
Tailwind
colors: {
  custom: {
    50: '#935e4e',
    500: '#5f1f0f',
    950: '#000000',
  },
}
SCSS
$custom: #5f1f0f;
$custom-light: #935e4e;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1f0f",
  "rgb": {
    "r": 95,
    "g": 31,
    "b": 15
  },
  "hsl": {
    "h": 12,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.3362,
    "c": 0.09715,
    "h": 35.1
  },
  "luminance": 0.03447
}

Semantic roles & 50–950 ramp

primary
#5F1F0F
secondary
#328498
accent
#CBEF38
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0401
muted
#7E7977

Preview Lab

Preview with #5F1F0F

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

Preview Lab → · Contrast checker → · Palette generator →

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