#5F1B0E#5F1B0E

#5F1B0E is a dark, moderate red. Relative luminance 0.032; OKLCH L 33.1% C 0.102 H 32.9°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#5F1B0E
RGBrgb(95, 27, 14)
HSLhsl(10, 74%, 21%)
HSVhsv(10, 85%, 37%)
CMYKcmyk(0%, 71.6%, 85.3%, 62.7%)
CIE-LABlab(21.02, 30.15, 25.23)
CIE-LCHlch(21.02, 39.32, 39.92°)
OKLaboklab(33.06% 0.0853 0.0551)
OKLCHoklch(33.06% 0.102 32.9)
XYZxyz(5.1911, 3.2492, 0.7692)
Luminance0.0325 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1B0E #0E525F
analogous
#5F0E2A #5F1B0E #5F440E
triadic
#5F1B0E #0E5F1B #1B0E5F
tetradic
#5F1B0E #2A5F0E #0E525F #440E5F
square
#5F1B0E #2A5F0E #0E525F #440E5F
split-complementary
#5F1B0E #0E5F44 #0E2A5F
monochromatic
#1B0804 #2A0C06 #5F1B0E #942A16 #CA391E

Accessibility & contrast

On white

12.73
#5F1B0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#5F1B0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1B0E
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1B0E#FFFFFF#000000##FFFFFF
##5F1B0E1.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F290C
Deuteranopia (green-blind)
#3F380B
Tritanopia (blue-blind)
#690619
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5f1b0e;
/* rgb */ color: rgb(95, 27, 14);
/* oklch */ color: oklch(33.1% 0.102 32.9);
Tailwind
colors: {
  custom: {
    50: '#935c4d',
    500: '#5f1b0e',
    950: '#000000',
  },
}
SCSS
$custom: #5f1b0e;
$custom-light: #935c4d;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1b0e",
  "rgb": {
    "r": 95,
    "g": 27,
    "b": 14
  },
  "hsl": {
    "h": 9.63,
    "s": 74.312,
    "l": 21.373
  },
  "oklch": {
    "l": 0.3306,
    "c": 0.10152,
    "h": 32.9
  },
  "luminance": 0.03248
}

Semantic roles & 50–950 ramp

primary
#5F1B0E
secondary
#308899
accent
#D3F137
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0401
muted
#7E7977

Preview Lab

Preview with #5F1B0E

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

Preview Lab → · Contrast checker → · Palette generator →

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