#5F1216#5F1216

#5F1216 is a dark, moderate red. Relative luminance 0.029; OKLCH L 32.1% C 0.109 H 23.4°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#5F1216
RGBrgb(95, 18, 22)
HSLhsl(357, 68%, 22%)
HSVhsv(357, 81%, 37%)
CMYKcmyk(0%, 81.1%, 76.8%, 62.7%)
CIE-LABlab(19.74, 34.31, 18.97)
CIE-LCHlch(19.74, 39.21, 28.93°)
OKLaboklab(32.14% 0.1002 0.0433)
OKLCHoklch(32.14% 0.109 23.4)
XYZxyz(5.0810, 2.9242, 1.0558)
Luminance0.0292 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1216 #125F5B
analogous
#5F123D #5F1216 #5F3512
triadic
#5F1216 #165F12 #12165F
tetradic
#5F1216 #3D5F12 #125F5B #35125F
square
#5F1216 #3D5F12 #125F5B #35125F
split-complementary
#5F1216 #125F35 #123D5F
monochromatic
#1A0506 #2C080A #5F1216 #921C22 #C6252E

Accessibility & contrast

On white

13.25
#5F1216 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#5F1216 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1216
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1216#FFFFFF#000000##FFFFFF
##5F12161.0013.251.5813.25
#FFFFFF13.251.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292515
Deuteranopia (green-blind)
#3C3613
Tritanopia (blue-blind)
#690014
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5f1216;
/* rgb */ color: rgb(95, 18, 22);
/* oklch */ color: oklch(32.1% 0.109 23.4);
Tailwind
colors: {
  custom: {
    50: '#935753',
    500: '#5f1216',
    950: '#000000',
  },
}
SCSS
$custom: #5f1216;
$custom-light: #935753;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1216",
  "rgb": {
    "r": 95,
    "g": 18,
    "b": 22
  },
  "hsl": {
    "h": 356.883,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.32138,
    "c": 0.10913,
    "h": 23.4
  },
  "luminance": 0.02923
}

Semantic roles & 50–950 ramp

primary
#5F1216
secondary
#369792
accent
#EBE23D
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0302
muted
#7E7878

Preview Lab

Preview with #5F1216

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

Preview Lab → · Contrast checker → · Palette generator →

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