#5F1C0C#5F1C0C

#5F1C0C is a dark, moderate red. Relative luminance 0.033; OKLCH L 33.2% C 0.101 H 34.5°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#5F1C0C
RGBrgb(95, 28, 12)
HSLhsl(12, 78%, 21%)
HSVhsv(12, 87%, 37%)
CMYKcmyk(0%, 70.5%, 87.4%, 62.7%)
CIE-LABlab(21.17, 29.60, 26.36)
CIE-LCHlch(21.17, 39.64, 41.68°)
OKLaboklab(33.17% 0.0831 0.0572)
OKLCHoklch(33.17% 0.101 34.5)
XYZxyz(5.2015, 3.2907, 0.7090)
Luminance0.0329 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1C0C #0C4F5F
analogous
#5F0C25 #5F1C0C #5F450C
triadic
#5F1C0C #0C5F1C #1C0C5F
tetradic
#5F1C0C #255F0C #0C4F5F #450C5F
square
#5F1C0C #255F0C #0C4F5F #450C5F
split-complementary
#5F1C0C #0C5F45 #0C255F
monochromatic
#1B0803 #290C05 #5F1C0C #952C13 #CC3C1A

Accessibility & contrast

On white

12.67
#5F1C0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#5F1C0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1C0C
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1C0C#FFFFFF#000000##FFFFFF
##5F1C0C1.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2909
Deuteranopia (green-blind)
#403809
Tritanopia (blue-blind)
#690819
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5f1c0c;
/* rgb */ color: rgb(95, 28, 12);
/* oklch */ color: oklch(33.2% 0.101 34.5);
Tailwind
colors: {
  custom: {
    50: '#935c4c',
    500: '#5f1c0c',
    950: '#000000',
  },
}
SCSS
$custom: #5f1c0c;
$custom-light: #935c4c;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1c0c",
  "rgb": {
    "r": 95,
    "g": 28,
    "b": 12
  },
  "hsl": {
    "h": 11.566,
    "s": 77.57,
    "l": 20.98
  },
  "oklch": {
    "l": 0.33171,
    "c": 0.10093,
    "h": 34.5
  },
  "luminance": 0.0329
}

Semantic roles & 50–950 ramp

primary
#5F1C0C
secondary
#2D8599
accent
#CFF434
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0401
muted
#7E7977

Preview Lab

Preview with #5F1C0C

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

Preview Lab → · Contrast checker → · Palette generator →

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