#5F1811#5F1811

#5F1811 is a dark, moderate red. Relative luminance 0.031; OKLCH L 32.7% C 0.104 H 29.4°. Best body text is #FFFFFF at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#5F1811
RGBrgb(95, 24, 17)
HSLhsl(5, 70%, 22%)
HSVhsv(5, 82%, 37%)
CMYKcmyk(0%, 74.7%, 82.1%, 62.7%)
CIE-LABlab(20.55, 31.64, 23.09)
CIE-LCHlch(20.55, 39.17, 36.11°)
OKLaboklab(32.72% 0.0906 0.0511)
OKLCHoklch(32.72% 0.104 29.4)
XYZxyz(5.1477, 3.1274, 0.8628)
Luminance0.0313 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1811 #11585F
analogous
#5F1131 #5F1811 #5F3F11
triadic
#5F1811 #115F18 #18115F
tetradic
#5F1811 #315F11 #11585F #3F115F
square
#5F1811 #315F11 #11585F #3F115F
split-complementary
#5F1811 #115F3F #11315F
monochromatic
#1A0705 #2B0B08 #5F1811 #93251A #C73224

Accessibility & contrast

On white

12.92
#5F1811 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#5F1811 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1811
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1811#FFFFFF#000000##FFFFFF
##5F18111.0012.921.6312.92
#FFFFFF12.921.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2810
Deuteranopia (green-blind)
#3E370E
Tritanopia (blue-blind)
#690117
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5f1811;
/* rgb */ color: rgb(95, 24, 17);
/* oklch */ color: oklch(32.7% 0.104 29.4);
Tailwind
colors: {
  custom: {
    50: '#935a4f',
    500: '#5f1811',
    950: '#000000',
  },
}
SCSS
$custom: #5f1811;
$custom-light: #935a4f;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1811",
  "rgb": {
    "r": 95,
    "g": 24,
    "b": 17
  },
  "hsl": {
    "h": 5.385,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32719,
    "c": 0.10398,
    "h": 29.4
  },
  "luminance": 0.03127
}

Semantic roles & 50–950 ramp

primary
#5F1811
secondary
#348F98
accent
#DDEC3B
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0402
muted
#7E7978

Preview Lab

Preview with #5F1811

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

Preview Lab → · Contrast checker → · Palette generator →

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