#5F1814#5F1814

#5F1814 is a dark, moderate red. Relative luminance 0.031; OKLCH L 32.8% C 0.103 H 27.6°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#5F1814
RGBrgb(95, 24, 20)
HSLhsl(3, 65%, 23%)
HSVhsv(3, 79%, 37%)
CMYKcmyk(0%, 74.7%, 78.9%, 62.7%)
CIE-LABlab(20.59, 31.78, 21.27)
CIE-LCHlch(20.59, 38.24, 33.79°)
OKLaboklab(32.76% 0.0917 0.0479)
OKLCHoklch(32.76% 0.103 27.6)
XYZxyz(5.1728, 3.1374, 0.9949)
Luminance0.0314 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1814 #145B5F
analogous
#5F1435 #5F1814 #5F3D14
triadic
#5F1814 #145F18 #18145F
tetradic
#5F1814 #355F14 #145B5F #3D145F
square
#5F1814 #355F14 #145B5F #3D145F
split-complementary
#5F1814 #145F3D #14355F
monochromatic
#190605 #2C0B09 #5F1814 #92251F #C43229

Accessibility & contrast

On white

12.90
#5F1814 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1814
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1814#FFFFFF#000000##FFFFFF
##5F18141.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2813
Deuteranopia (green-blind)
#3E3711
Tritanopia (blue-blind)
#690218
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5f1814;
/* rgb */ color: rgb(95, 24, 20);
/* oklch */ color: oklch(32.8% 0.103 27.6);
Tailwind
colors: {
  custom: {
    50: '#935a51',
    500: '#5f1814',
    950: '#000000',
  },
}
SCSS
$custom: #5f1814;
$custom-light: #935a51;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1814",
  "rgb": {
    "r": 95,
    "g": 24,
    "b": 20
  },
  "hsl": {
    "h": 3.2,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32761,
    "c": 0.10343,
    "h": 27.6
  },
  "luminance": 0.03137
}

Semantic roles & 50–950 ramp

primary
#5F1814
secondary
#389297
accent
#DFE840
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0402
muted
#7E7978

Preview Lab

Preview with #5F1814

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

Preview Lab → · Contrast checker → · Palette generator →

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