#5F1816#5F1816

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

Color values

HEX#5F1816
RGBrgb(95, 24, 22)
HSLhsl(2, 62%, 23%)
HSVhsv(2, 77%, 37%)
CMYKcmyk(0%, 74.7%, 76.8%, 62.7%)
CIE-LABlab(20.62, 31.88, 19.99)
CIE-LCHlch(20.62, 37.63, 32.09°)
OKLaboklab(32.79% 0.0925 0.0456)
OKLCHoklch(32.79% 0.103 26.2)
XYZxyz(5.1913, 3.1449, 1.0926)
Luminance0.0314 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1816 #165D5F
analogous
#5F1638 #5F1816 #5F3C16
triadic
#5F1816 #165F18 #18165F
tetradic
#5F1816 #385F16 #165D5F #3C165F
square
#5F1816 #385F16 #165D5F #3C165F
split-complementary
#5F1816 #165F3C #16385F
monochromatic
#190606 #2D0B0A #5F1816 #912522 #C2312D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F1816#FFFFFF#000000##FFFFFF
##5F18161.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)
#2C2815
Deuteranopia (green-blind)
#3E3714
Tritanopia (blue-blind)
#690218
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5f1816;
/* rgb */ color: rgb(95, 24, 22);
/* oklch */ color: oklch(32.8% 0.103 26.2);
Tailwind
colors: {
  custom: {
    50: '#935a53',
    500: '#5f1816',
    950: '#000000',
  },
}
SCSS
$custom: #5f1816;
$custom-light: #935a53;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1816",
  "rgb": {
    "r": 95,
    "g": 24,
    "b": 22
  },
  "hsl": {
    "h": 1.644,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.32792,
    "c": 0.1031,
    "h": 26.2
  },
  "luminance": 0.03144
}

Semantic roles & 50–950 ramp

primary
#5F1816
secondary
#3B9396
accent
#E1E542
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0402
muted
#7E7978

Preview Lab

Preview with #5F1816

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

Preview Lab → · Contrast checker → · Palette generator →

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