#3B040C#3B040C

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

Color values

HEX#3B040C
RGBrgb(59, 4, 12)
HSLhsl(351, 87%, 12%)
HSVhsv(351, 93%, 23%)
CMYKcmyk(0%, 93.2%, 79.7%, 76.9%)
CIE-LABlab(9.35, 26.76, 9.70)
CIE-LCHlch(9.35, 28.47, 19.93°)
OKLaboklab(22.9% 0.0792 0.0272)
OKLCHoklch(22.9% 0.084 18.9)
XYZxyz(1.9136, 1.0435, 0.4484)
Luminance0.0104 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B040C #043B33
analogous
#3B0427 #3B040C #3B1804
triadic
#3B040C #0C3B04 #040C3B
tetradic
#3B040C #273B04 #043B33 #18043B
square
#3B040C #273B04 #043B33 #18043B
split-complementary
#3B040C #043B18 #04273B
monochromatic
#1D0206 #1D0206 #3B040C #740818 #AE0C23

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3B040C#FFFFFF#000000##FFFFFF
##3B040C1.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)
#14130C
Deuteranopia (green-blind)
#221E0A
Tritanopia (blue-blind)
#420007
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #3b040c;
/* rgb */ color: rgb(59, 4, 12);
/* oklch */ color: oklch(22.9% 0.084 18.9);
Tailwind
colors: {
  custom: {
    50: '#764a4c',
    500: '#3b040c',
    950: '#000000',
  },
}
SCSS
$custom: #3b040c;
$custom-light: #764a4c;
$custom-dark: #000000;
JSON
{
  "hex": "#3b040c",
  "rgb": {
    "r": 59,
    "g": 4,
    "b": 12
  },
  "hsl": {
    "h": 351.273,
    "s": 87.302,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22899,
    "c": 0.08369,
    "h": 18.9
  },
  "luminance": 0.01043
}

Semantic roles & 50–950 ramp

primary
#3B040C
secondary
#1E7D6F
accent
#FDDF2A
background
#F7F4F4
surface
#EEE7E7
border
#C9C3C3
text
#090101
muted
#7B7777

Preview Lab

Preview with #3B040C

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

Preview Lab → · Contrast checker → · Palette generator →

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