#5F1817#5F1817

#5F1817 is a dark, moderate red. Relative luminance 0.031; OKLCH L 32.8% C 0.103 H 25.5°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#5F1817
RGBrgb(95, 24, 23)
HSLhsl(1, 61%, 23%)
HSVhsv(1, 76%, 37%)
CMYKcmyk(0%, 74.7%, 75.8%, 62.7%)
CIE-LABlab(20.63, 31.94, 19.35)
CIE-LCHlch(20.63, 37.34, 31.20°)
OKLaboklab(32.81% 0.0929 0.0444)
OKLCHoklch(32.81% 0.103 25.5)
XYZxyz(5.2012, 3.1488, 1.1444)
Luminance0.0315 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1817 #175E5F
analogous
#5F173A #5F1817 #5F3C17
triadic
#5F1817 #175F18 #18175F
tetradic
#5F1817 #3A5F17 #175E5F #3C175F
square
#5F1817 #3A5F17 #175E5F #3C175F
split-complementary
#5F1817 #175F3C #173A5F
monochromatic
#190606 #2E0C0B #5F1817 #902423 #C2312F

Accessibility & contrast

On white

12.89
#5F1817 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#5F1817 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1817
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1817#FFFFFF#000000##FFFFFF
##5F18171.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2816
Deuteranopia (green-blind)
#3E3715
Tritanopia (blue-blind)
#690319
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5f1817;
/* rgb */ color: rgb(95, 24, 23);
/* oklch */ color: oklch(32.8% 0.103 25.5);
Tailwind
colors: {
  custom: {
    50: '#935a54',
    500: '#5f1817',
    950: '#000000',
  },
}
SCSS
$custom: #5f1817;
$custom-light: #935a54;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1817",
  "rgb": {
    "r": 95,
    "g": 24,
    "b": 23
  },
  "hsl": {
    "h": 0.833,
    "s": 61.017,
    "l": 23.137
  },
  "oklch": {
    "l": 0.32808,
    "c": 0.10295,
    "h": 25.5
  },
  "luminance": 0.03148
}

Semantic roles & 50–950 ramp

primary
#5F1817
secondary
#3C9496
accent
#E2E444
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0402
muted
#7E7978

Preview Lab

Preview with #5F1817

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

Preview Lab → · Contrast checker → · Palette generator →

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