#5F1716#5F1716

#5F1716 is a dark, moderate red. Relative luminance 0.031; OKLCH L 32.7% C 0.104 H 25.7°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#5F1716
RGBrgb(95, 23, 22)
HSLhsl(1, 62%, 23%)
HSVhsv(1, 77%, 37%)
CMYKcmyk(0%, 75.8%, 76.8%, 62.7%)
CIE-LABlab(20.46, 32.32, 19.81)
CIE-LCHlch(20.46, 37.90, 31.51°)
OKLaboklab(32.67% 0.0939 0.0452)
OKLCHoklch(32.67% 0.104 25.7)
XYZxyz(5.1711, 3.1044, 1.0858)
Luminance0.0310 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1716 #165E5F
analogous
#5F1639 #5F1716 #5F3B16
triadic
#5F1716 #165F17 #17165F
tetradic
#5F1716 #395F16 #165E5F #3B165F
square
#5F1716 #395F16 #165E5F #3B165F
split-complementary
#5F1716 #165F3B #16395F
monochromatic
#190606 #2D0B0A #5F1716 #912322 #C22F2D

Accessibility & contrast

On white

12.96
#5F1716 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#5F1716 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1716
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1716#FFFFFF#000000##FFFFFF
##5F17161.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C2715
Deuteranopia (green-blind)
#3E3714
Tritanopia (blue-blind)
#690118
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5f1716;
/* rgb */ color: rgb(95, 23, 22);
/* oklch */ color: oklch(32.7% 0.104 25.7);
Tailwind
colors: {
  custom: {
    50: '#935a53',
    500: '#5f1716',
    950: '#000000',
  },
}
SCSS
$custom: #5f1716;
$custom-light: #935a53;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1716",
  "rgb": {
    "r": 95,
    "g": 23,
    "b": 22
  },
  "hsl": {
    "h": 0.822,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.32674,
    "c": 0.10416,
    "h": 25.7
  },
  "luminance": 0.03104
}

Semantic roles & 50–950 ramp

primary
#5F1716
secondary
#3B9596
accent
#E3E542
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0402
muted
#7E7978

Preview Lab

Preview with #5F1716

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

Preview Lab → · Contrast checker → · Palette generator →

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