#3B040B#3B040B

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

Color values

HEX#3B040B
RGBrgb(59, 4, 11)
HSLhsl(352, 87%, 12%)
HSVhsv(352, 93%, 23%)
CMYKcmyk(0%, 93.2%, 81.4%, 76.9%)
CIE-LABlab(9.33, 26.70, 10.12)
CIE-LCHlch(9.33, 28.56, 20.75°)
OKLaboklab(22.88% 0.0787 0.0286)
OKLCHoklch(22.88% 0.084 20)
XYZxyz(1.9077, 1.0411, 0.4171)
Luminance0.0104 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B040B #043B34
analogous
#3B0426 #3B040B #3B1904
triadic
#3B040B #0B3B04 #040B3B
tetradic
#3B040B #263B04 #043B34 #19043B
square
#3B040B #263B04 #043B34 #19043B
split-complementary
#3B040B #043B19 #04263B
monochromatic
#1D0205 #1D0205 #3B040B #740816 #AE0C20

Accessibility & contrast

On white

17.38
#3B040B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B040B
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B040B#FFFFFF#000000##FFFFFF
##3B040B1.0017.381.2117.38
#FFFFFF17.381.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15130B
Deuteranopia (green-blind)
#221E09
Tritanopia (blue-blind)
#420007
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #3b040b;
/* rgb */ color: rgb(59, 4, 11);
/* oklch */ color: oklch(22.9% 0.084 20.0);
Tailwind
colors: {
  custom: {
    50: '#764a4b',
    500: '#3b040b',
    950: '#000000',
  },
}
SCSS
$custom: #3b040b;
$custom-light: #764a4b;
$custom-dark: #000000;
JSON
{
  "hex": "#3b040b",
  "rgb": {
    "r": 59,
    "g": 4,
    "b": 11
  },
  "hsl": {
    "h": 352.364,
    "s": 87.302,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22878,
    "c": 0.08373,
    "h": 20
  },
  "luminance": 0.01041
}

Semantic roles & 50–950 ramp

primary
#3B040B
secondary
#1E7D71
accent
#FDE32A
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#090101
muted
#7B7777

Preview Lab

Preview with #3B040B

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

Preview Lab → · Contrast checker → · Palette generator →

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