#3B040D#3B040D

#3B040D is a very dark, moderate red. Relative luminance 0.010; OKLCH L 22.9% C 0.084 H 17.9°. Best body text is #FFFFFF at 17.37:1 contrast (WCAG AA passes).

Color values

HEX#3B040D
RGBrgb(59, 4, 13)
HSLhsl(350, 87%, 12%)
HSVhsv(350, 93%, 23%)
CMYKcmyk(0%, 93.2%, 78%, 76.9%)
CIE-LABlab(9.37, 26.82, 9.27)
CIE-LCHlch(9.37, 28.38, 19.06°)
OKLaboklab(22.92% 0.0796 0.0257)
OKLCHoklch(22.92% 0.084 17.9)
XYZxyz(1.9199, 1.0460, 0.4815)
Luminance0.0105 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B040D #043B32
analogous
#3B0429 #3B040D #3B1704
triadic
#3B040D #0D3B04 #040D3B
tetradic
#3B040D #293B04 #043B32 #17043B
square
#3B040D #293B04 #043B32 #17043B
split-complementary
#3B040D #043B17 #04293B
monochromatic
#1D0206 #1D0206 #3B040D #74081A #AE0C26

Accessibility & contrast

On white

17.37
#3B040D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#3B040D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B040D
17.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B040D#FFFFFF#000000##FFFFFF
##3B040D1.0017.371.2117.37
#FFFFFF17.371.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14130D
Deuteranopia (green-blind)
#221E0B
Tritanopia (blue-blind)
#420007
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #3b040d;
/* rgb */ color: rgb(59, 4, 13);
/* oklch */ color: oklch(22.9% 0.084 17.9);
Tailwind
colors: {
  custom: {
    50: '#764a4c',
    500: '#3b040d',
    950: '#000000',
  },
}
SCSS
$custom: #3b040d;
$custom-light: #764a4c;
$custom-dark: #000000;
JSON
{
  "hex": "#3b040d",
  "rgb": {
    "r": 59,
    "g": 4,
    "b": 13
  },
  "hsl": {
    "h": 350.182,
    "s": 87.302,
    "l": 12.353
  },
  "oklch": {
    "l": 0.2292,
    "c": 0.08367,
    "h": 17.9
  },
  "luminance": 0.01046
}

Semantic roles & 50–950 ramp

primary
#3B040D
secondary
#1E7D6D
accent
#FDDB2A
background
#F7F4F4
surface
#EDE7E7
border
#C8C3C3
text
#090101
muted
#7B7777

Preview Lab

Preview with #3B040D

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

Preview Lab → · Contrast checker → · Palette generator →

#3B040D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva