#3B040A#3B040A

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

Color values

HEX#3B040A
RGBrgb(59, 4, 10)
HSLhsl(353, 87%, 12%)
HSVhsv(353, 93%, 23%)
CMYKcmyk(0%, 93.2%, 83.1%, 76.9%)
CIE-LABlab(9.31, 26.65, 10.51)
CIE-LCHlch(9.31, 28.65, 21.53°)
OKLaboklab(22.86% 0.0782 0.03)
OKLCHoklch(22.86% 0.084 21)
XYZxyz(1.9021, 1.0389, 0.3875)
Luminance0.0104 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B040A #043B35
analogous
#3B0425 #3B040A #3B1A04
triadic
#3B040A #0A3B04 #040A3B
tetradic
#3B040A #253B04 #043B35 #1A043B
square
#3B040A #253B04 #043B35 #1A043B
split-complementary
#3B040A #043B1A #04253B
monochromatic
#1D0205 #1D0205 #3B040A #740814 #AE0C1D

Accessibility & contrast

On white

17.39
#3B040A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3B040A
17.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B040A#FFFFFF#000000##FFFFFF
##3B040A1.0017.391.2117.39
#FFFFFF17.391.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15120A
Deuteranopia (green-blind)
#231E08
Tritanopia (blue-blind)
#420006
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #3b040a;
/* rgb */ color: rgb(59, 4, 10);
/* oklch */ color: oklch(22.9% 0.084 21.0);
Tailwind
colors: {
  custom: {
    50: '#764a4b',
    500: '#3b040a',
    950: '#000000',
  },
}
SCSS
$custom: #3b040a;
$custom-light: #764a4b;
$custom-dark: #000000;
JSON
{
  "hex": "#3b040a",
  "rgb": {
    "r": 59,
    "g": 4,
    "b": 10
  },
  "hsl": {
    "h": 353.455,
    "s": 87.302,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22859,
    "c": 0.08379,
    "h": 21
  },
  "luminance": 0.01039
}

Semantic roles & 50–950 ramp

primary
#3B040A
secondary
#1E7D72
accent
#FDE62A
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#090101
muted
#7B7777

Preview Lab

Preview with #3B040A

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

Preview Lab → · Contrast checker → · Palette generator →

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