#5F1316#5F1316

#5F1316 is a dark, moderate red. Relative luminance 0.030; OKLCH L 32.2% C 0.108 H 23.8°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#5F1316
RGBrgb(95, 19, 22)
HSLhsl(358, 67%, 22%)
HSVhsv(358, 80%, 37%)
CMYKcmyk(0%, 80%, 76.8%, 62.7%)
CIE-LABlab(19.87, 33.94, 19.13)
CIE-LCHlch(19.87, 38.95, 29.41°)
OKLaboklab(32.24% 0.099 0.0437)
OKLCHoklch(32.24% 0.108 23.8)
XYZxyz(5.0976, 2.9574, 1.0613)
Luminance0.0296 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1316 #135F5C
analogous
#5F133C #5F1316 #5F3613
triadic
#5F1316 #165F13 #13165F
tetradic
#5F1316 #3C5F13 #135F5C #36135F
square
#5F1316 #3C5F13 #135F5C #36135F
split-complementary
#5F1316 #135F36 #133C5F
monochromatic
#1A0506 #2C090A #5F1316 #921D22 #C5272E

Accessibility & contrast

On white

13.20
#5F1316 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#5F1316 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1316
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1316#FFFFFF#000000##FFFFFF
##5F13161.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292615
Deuteranopia (green-blind)
#3C3613
Tritanopia (blue-blind)
#690015
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5f1316;
/* rgb */ color: rgb(95, 19, 22);
/* oklch */ color: oklch(32.2% 0.108 23.8);
Tailwind
colors: {
  custom: {
    50: '#935853',
    500: '#5f1316',
    950: '#000000',
  },
}
SCSS
$custom: #5f1316;
$custom-light: #935853;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1316",
  "rgb": {
    "r": 95,
    "g": 19,
    "b": 22
  },
  "hsl": {
    "h": 357.632,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.32238,
    "c": 0.10818,
    "h": 23.8
  },
  "luminance": 0.02957
}

Semantic roles & 50–950 ramp

primary
#5F1316
secondary
#379793
accent
#EAE33E
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0402
muted
#7E7978

Preview Lab

Preview with #5F1316

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

Preview Lab → · Contrast checker → · Palette generator →

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