#5F1C0D#5F1C0D

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

Color values

HEX#5F1C0D
RGBrgb(95, 28, 13)
HSLhsl(11, 76%, 21%)
HSVhsv(11, 86%, 37%)
CMYKcmyk(0%, 70.5%, 86.3%, 62.7%)
CIE-LABlab(21.18, 29.64, 25.91)
CIE-LCHlch(21.18, 39.37, 41.15°)
OKLaboklab(33.18% 0.0835 0.0564)
OKLCHoklch(33.18% 0.101 34)
XYZxyz(5.2078, 3.2932, 0.7421)
Luminance0.0329 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1C0D #0D505F
analogous
#5F0D27 #5F1C0D #5F450D
triadic
#5F1C0D #0D5F1C #1C0D5F
tetradic
#5F1C0D #275F0D #0D505F #450D5F
square
#5F1C0D #275F0D #0D505F #450D5F
split-complementary
#5F1C0D #0D5F45 #0D275F
monochromatic
#1B0804 #290C06 #5F1C0D #952C14 #CB3C1C

Accessibility & contrast

On white

12.66
#5F1C0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1C0D
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1C0D#FFFFFF#000000##FFFFFF
##5F1C0D1.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F290B
Deuteranopia (green-blind)
#40380A
Tritanopia (blue-blind)
#690819
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5f1c0d;
/* rgb */ color: rgb(95, 28, 13);
/* oklch */ color: oklch(33.2% 0.101 34.0);
Tailwind
colors: {
  custom: {
    50: '#935c4d',
    500: '#5f1c0d',
    950: '#000000',
  },
}
SCSS
$custom: #5f1c0d;
$custom-light: #935c4d;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1c0d",
  "rgb": {
    "r": 95,
    "g": 28,
    "b": 13
  },
  "hsl": {
    "h": 10.976,
    "s": 75.926,
    "l": 21.176
  },
  "oklch": {
    "l": 0.33182,
    "c": 0.10072,
    "h": 34
  },
  "luminance": 0.03292
}

Semantic roles & 50–950 ramp

primary
#5F1C0D
secondary
#2F8699
accent
#D0F335
background
#F9F5F4
surface
#F2E9E7
border
#CCC5C3
text
#0E0401
muted
#7E7977

Preview Lab

Preview with #5F1C0D

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

Preview Lab → · Contrast checker → · Palette generator →

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