#5F1B0C#5F1B0C

#5F1B0C is a dark, moderate red. Relative luminance 0.032; OKLCH L 33.0% C 0.102 H 33.9°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#5F1B0C
RGBrgb(95, 27, 12)
HSLhsl(11, 78%, 21%)
HSVhsv(11, 87%, 37%)
CMYKcmyk(0%, 71.6%, 87.4%, 62.7%)
CIE-LABlab(21.00, 30.08, 26.17)
CIE-LCHlch(21.00, 39.87, 41.02°)
OKLaboklab(33.04% 0.0846 0.0569)
OKLCHoklch(33.04% 0.102 33.9)
XYZxyz(5.1782, 3.2441, 0.7013)
Luminance0.0324 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1B0C #0C505F
analogous
#5F0C26 #5F1B0C #5F440C
triadic
#5F1B0C #0C5F1B #1B0C5F
tetradic
#5F1B0C #265F0C #0C505F #440C5F
square
#5F1B0C #265F0C #0C505F #440C5F
split-complementary
#5F1B0C #0C5F44 #0C265F
monochromatic
#1B0803 #290C05 #5F1B0C #952A13 #CC3A1A

Accessibility & contrast

On white

12.74
#5F1B0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#5F1B0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1B0C
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1B0C#FFFFFF#000000##FFFFFF
##5F1B0C1.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F290A
Deuteranopia (green-blind)
#403809
Tritanopia (blue-blind)
#690618
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5f1b0c;
/* rgb */ color: rgb(95, 27, 12);
/* oklch */ color: oklch(33.0% 0.102 33.9);
Tailwind
colors: {
  custom: {
    50: '#935c4c',
    500: '#5f1b0c',
    950: '#000000',
  },
}
SCSS
$custom: #5f1b0c;
$custom-light: #935c4c;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1b0c",
  "rgb": {
    "r": 95,
    "g": 27,
    "b": 12
  },
  "hsl": {
    "h": 10.843,
    "s": 77.57,
    "l": 20.98
  },
  "oklch": {
    "l": 0.33039,
    "c": 0.10194,
    "h": 33.9
  },
  "luminance": 0.03243
}

Semantic roles & 50–950 ramp

primary
#5F1B0C
secondary
#2D8699
accent
#D1F434
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0401
muted
#7E7977

Preview Lab

Preview with #5F1B0C

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

Preview Lab → · Contrast checker → · Palette generator →

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