#5F1311#5F1311

#5F1311 is a dark, moderate red. Relative luminance 0.029; OKLCH L 32.2% C 0.109 H 27.0°. Best body text is #FFFFFF at 13.23:1 contrast (WCAG AA passes).

Color values

HEX#5F1311
RGBrgb(95, 19, 17)
HSLhsl(2, 70%, 22%)
HSVhsv(2, 82%, 37%)
CMYKcmyk(0%, 80%, 82.1%, 62.7%)
CIE-LABlab(19.80, 33.70, 22.25)
CIE-LCHlch(19.80, 40.38, 33.43°)
OKLaboklab(32.16% 0.097 0.0494)
OKLCHoklch(32.16% 0.109 27)
XYZxyz(5.0540, 2.9399, 0.8315)
Luminance0.0294 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1311 #115D5F
analogous
#5F1136 #5F1311 #5F3A11
triadic
#5F1311 #115F13 #13115F
tetradic
#5F1311 #365F11 #115D5F #3A115F
square
#5F1311 #365F11 #115D5F #3A115F
split-complementary
#5F1311 #115F3A #11365F
monochromatic
#1A0505 #2B0908 #5F1311 #931D1A #C72824

Accessibility & contrast

On white

13.23
#5F1311 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1311
13.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1311#FFFFFF#000000##FFFFFF
##5F13111.0013.231.5913.23
#FFFFFF13.231.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2510
Deuteranopia (green-blind)
#3D360E
Tritanopia (blue-blind)
#690013
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5f1311;
/* rgb */ color: rgb(95, 19, 17);
/* oklch */ color: oklch(32.2% 0.109 27.0);
Tailwind
colors: {
  custom: {
    50: '#93584f',
    500: '#5f1311',
    950: '#000000',
  },
}
SCSS
$custom: #5f1311;
$custom-light: #93584f;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1311",
  "rgb": {
    "r": 95,
    "g": 19,
    "b": 17
  },
  "hsl": {
    "h": 1.538,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32163,
    "c": 0.10885,
    "h": 27
  },
  "luminance": 0.02939
}

Semantic roles & 50–950 ramp

primary
#5F1311
secondary
#349598
accent
#E8EC3B
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0402
muted
#7E7978

Preview Lab

Preview with #5F1311

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

Preview Lab → · Contrast checker → · Palette generator →

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