#5F1117#5F1117

#5F1117 is a dark, moderate red. Relative luminance 0.029; OKLCH L 32.1% C 0.110 H 22.3°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#5F1117
RGBrgb(95, 17, 23)
HSLhsl(355, 70%, 22%)
HSVhsv(355, 82%, 37%)
CMYKcmyk(0%, 82.1%, 75.8%, 62.7%)
CIE-LABlab(19.62, 34.73, 18.16)
CIE-LCHlch(19.62, 39.19, 27.60°)
OKLaboklab(32.06% 0.1017 0.0418)
OKLCHoklch(32.06% 0.11 22.3)
XYZxyz(5.0750, 2.8964, 1.1023)
Luminance0.0290 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1117 #115F59
analogous
#5F113E #5F1117 #5F3211
triadic
#5F1117 #175F11 #11175F
tetradic
#5F1117 #3E5F11 #115F59 #32115F
square
#5F1117 #3E5F11 #115F59 #32115F
split-complementary
#5F1117 #115F32 #113E5F
monochromatic
#1A0506 #2B080A #5F1117 #931A24 #C72430

Accessibility & contrast

On white

13.30
#5F1117 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#5F1117 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1117
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1117#FFFFFF#000000##FFFFFF
##5F11171.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282517
Deuteranopia (green-blind)
#3C3514
Tritanopia (blue-blind)
#690014
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5f1117;
/* rgb */ color: rgb(95, 17, 23);
/* oklch */ color: oklch(32.1% 0.110 22.3);
Tailwind
colors: {
  custom: {
    50: '#935753',
    500: '#5f1117',
    950: '#000000',
  },
}
SCSS
$custom: #5f1117;
$custom-light: #935753;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1117",
  "rgb": {
    "r": 95,
    "g": 17,
    "b": 23
  },
  "hsl": {
    "h": 355.385,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32058,
    "c": 0.10997,
    "h": 22.3
  },
  "luminance": 0.02896
}

Semantic roles & 50–950 ramp

primary
#5F1117
secondary
#349890
accent
#ECDF3B
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878

Preview Lab

Preview with #5F1117

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

Preview Lab → · Contrast checker → · Palette generator →

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