#5F1418#5F1418

#5F1418 is a dark, moderate red. Relative luminance 0.030; OKLCH L 32.4% C 0.107 H 22.9°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#5F1418
RGBrgb(95, 20, 24)
HSLhsl(357, 65%, 23%)
HSVhsv(357, 79%, 37%)
CMYKcmyk(0%, 78.9%, 74.7%, 62.7%)
CIE-LABlab(20.04, 33.66, 17.98)
CIE-LCHlch(20.04, 38.16, 28.11°)
OKLaboklab(32.38% 0.0986 0.0416)
OKLCHoklch(32.38% 0.107 22.9)
XYZxyz(5.1349, 2.9999, 1.1726)
Luminance0.0300 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1418 #145F5B
analogous
#5F143D #5F1418 #5F3514
triadic
#5F1418 #185F14 #14185F
tetradic
#5F1418 #3D5F14 #145F5B #35145F
square
#5F1418 #3D5F14 #145F5B #35145F
split-complementary
#5F1418 #145F35 #143D5F
monochromatic
#190506 #2C090B #5F1418 #921F25 #C42932

Accessibility & contrast

On white

13.13
#5F1418 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#5F1418 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1418
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1418#FFFFFF#000000##FFFFFF
##5F14181.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2617
Deuteranopia (green-blind)
#3D3616
Tritanopia (blue-blind)
#690016
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5f1418;
/* rgb */ color: rgb(95, 20, 24);
/* oklch */ color: oklch(32.4% 0.107 22.9);
Tailwind
colors: {
  custom: {
    50: '#935854',
    500: '#5f1418',
    950: '#000000',
  },
}
SCSS
$custom: #5f1418;
$custom-light: #935854;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1418",
  "rgb": {
    "r": 95,
    "g": 20,
    "b": 24
  },
  "hsl": {
    "h": 356.8,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32376,
    "c": 0.10699,
    "h": 22.9
  },
  "luminance": 0.02999
}

Semantic roles & 50–950 ramp

primary
#5F1418
secondary
#389792
accent
#E8DF40
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0402
muted
#7E7978

Preview Lab

Preview with #5F1418

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

Preview Lab → · Contrast checker → · Palette generator →

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