#5F160C#5F160C

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

Color values

HEX#5F160C
RGBrgb(95, 22, 12)
HSLhsl(7, 78%, 21%)
HSVhsv(7, 87%, 37%)
CMYKcmyk(0%, 76.8%, 87.4%, 62.7%)
CIE-LABlab(20.18, 32.31, 25.26)
CIE-LCHlch(20.18, 41.01, 38.02°)
OKLaboklab(32.43% 0.0915 0.0551)
OKLCHoklch(32.43% 0.107 31.1)
XYZxyz(5.0732, 3.0340, 0.6663)
Luminance0.0303 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F160C #0C555F
analogous
#5F0C2B #5F160C #5F3F0C
triadic
#5F160C #0C5F16 #160C5F
tetradic
#5F160C #2B5F0C #0C555F #3F0C5F
square
#5F160C #2B5F0C #0C555F #3F0C5F
split-complementary
#5F160C #0C5F3F #0C2B5F
monochromatic
#1B0603 #290905 #5F160C #952313 #CC2F1A

Accessibility & contrast

On white

13.07
#5F160C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#5F160C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F160C
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F160C#FFFFFF#000000##FFFFFF
##5F160C1.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C260A
Deuteranopia (green-blind)
#3E3708
Tritanopia (blue-blind)
#690014
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5f160c;
/* rgb */ color: rgb(95, 22, 12);
/* oklch */ color: oklch(32.4% 0.107 31.1);
Tailwind
colors: {
  custom: {
    50: '#94594c',
    500: '#5f160c',
    950: '#000000',
  },
}
SCSS
$custom: #5f160c;
$custom-light: #94594c;
$custom-dark: #000000;
JSON
{
  "hex": "#5f160c",
  "rgb": {
    "r": 95,
    "g": 22,
    "b": 12
  },
  "hsl": {
    "h": 7.229,
    "s": 77.57,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32427,
    "c": 0.10686,
    "h": 31.1
  },
  "luminance": 0.03033
}

Semantic roles & 50–950 ramp

primary
#5F160C
secondary
#2D8C99
accent
#DDF434
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0401
muted
#7E7977

Preview Lab

Preview with #5F160C

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

Preview Lab → · Contrast checker → · Palette generator →

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