#5F1417#5F1417

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

Color values

HEX#5F1417
RGBrgb(95, 20, 23)
HSLhsl(358, 65%, 23%)
HSVhsv(358, 79%, 37%)
CMYKcmyk(0%, 78.9%, 75.8%, 62.7%)
CIE-LABlab(20.03, 33.60, 18.63)
CIE-LCHlch(20.03, 38.42, 29.01°)
OKLaboklab(32.36% 0.0982 0.0428)
OKLCHoklch(32.36% 0.107 23.6)
XYZxyz(5.1247, 2.9958, 1.1189)
Luminance0.0300 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1417 #145F5C
analogous
#5F143C #5F1417 #5F3614
triadic
#5F1417 #175F14 #14175F
tetradic
#5F1417 #3C5F14 #145F5C #36145F
square
#5F1417 #3C5F14 #145F5C #36145F
split-complementary
#5F1417 #145F36 #143C5F
monochromatic
#190506 #2C090B #5F1417 #921F23 #C4292F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F1417#FFFFFF#000000##FFFFFF
##5F14171.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)
#2A2616
Deuteranopia (green-blind)
#3D3615
Tritanopia (blue-blind)
#690016
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5f1417;
/* rgb */ color: rgb(95, 20, 23);
/* oklch */ color: oklch(32.4% 0.107 23.6);
Tailwind
colors: {
  custom: {
    50: '#935854',
    500: '#5f1417',
    950: '#000000',
  },
}
SCSS
$custom: #5f1417;
$custom-light: #935854;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1417",
  "rgb": {
    "r": 95,
    "g": 20,
    "b": 23
  },
  "hsl": {
    "h": 357.6,
    "s": 65.217,
    "l": 22.549
  },
  "oklch": {
    "l": 0.32358,
    "c": 0.10709,
    "h": 23.6
  },
  "luminance": 0.02995
}

Semantic roles & 50–950 ramp

primary
#5F1417
secondary
#389793
accent
#E8E140
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0402
muted
#7E7978

Preview Lab

Preview with #5F1417

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

Preview Lab → · Contrast checker → · Palette generator →

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