#5F1317#5F1317

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

Color values

HEX#5F1317
RGBrgb(95, 19, 23)
HSLhsl(357, 67%, 22%)
HSVhsv(357, 80%, 37%)
CMYKcmyk(0%, 80%, 75.8%, 62.7%)
CIE-LABlab(19.89, 33.99, 18.47)
CIE-LCHlch(19.89, 38.68, 28.52°)
OKLaboklab(32.26% 0.0994 0.0425)
OKLCHoklch(32.26% 0.108 23.1)
XYZxyz(5.1074, 2.9613, 1.1131)
Luminance0.0296 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1317 #135F5B
analogous
#5F133D #5F1317 #5F3513
triadic
#5F1317 #175F13 #13175F
tetradic
#5F1317 #3D5F13 #135F5B #35135F
square
#5F1317 #3D5F13 #135F5B #35135F
split-complementary
#5F1317 #135F35 #133D5F
monochromatic
#1A0506 #2C090B #5F1317 #921D23 #C52730

Accessibility & contrast

On white

13.19
#5F1317 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1317
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1317#FFFFFF#000000##FFFFFF
##5F13171.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f1317;
/* rgb */ color: rgb(95, 19, 23);
/* oklch */ color: oklch(32.3% 0.108 23.1);
Tailwind
colors: {
  custom: {
    50: '#935854',
    500: '#5f1317',
    950: '#000000',
  },
}
SCSS
$custom: #5f1317;
$custom-light: #935854;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1317",
  "rgb": {
    "r": 95,
    "g": 19,
    "b": 23
  },
  "hsl": {
    "h": 356.842,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.32255,
    "c": 0.10808,
    "h": 23.1
  },
  "luminance": 0.02961
}

Semantic roles & 50–950 ramp

primary
#5F1317
secondary
#379792
accent
#EAE13E
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0402
muted
#7E7978

Preview Lab

Preview with #5F1317

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

Preview Lab → · Contrast checker → · Palette generator →

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