#3A040E#3A040E

#3A040E is a very dark, moderate red. Relative luminance 0.010; OKLCH L 22.7% C 0.083 H 16.5°. Best body text is #FFFFFF at 17.45:1 contrast (WCAG AA passes).

Color values

HEX#3A040E
RGBrgb(58, 4, 14)
HSLhsl(349, 87%, 12%)
HSVhsv(349, 93%, 23%)
CMYKcmyk(0%, 93.1%, 75.9%, 77.3%)
CIE-LABlab(9.14, 26.55, 8.42)
CIE-LCHlch(9.14, 27.85, 17.59°)
OKLaboklab(22.72% 0.0792 0.0234)
OKLCHoklch(22.72% 0.083 16.5)
XYZxyz(1.8678, 1.0184, 0.5136)
Luminance0.0102 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A040E #043A30
analogous
#3A0429 #3A040E #3A1504
triadic
#3A040E #0E3A04 #040E3A
tetradic
#3A040E #293A04 #043A30 #15043A
square
#3A040E #293A04 #043A30 #15043A
split-complementary
#3A040E #043A15 #04293A
monochromatic
#1D0207 #1D0207 #3A040E #73081C #AD0C2A

Accessibility & contrast

On white

17.45
#3A040E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#3A040E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A040E
17.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A040E#FFFFFF#000000##FFFFFF
##3A040E1.0017.451.2017.45
#FFFFFF17.451.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14120E
Deuteranopia (green-blind)
#211E0C
Tritanopia (blue-blind)
#410008
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #3a040e;
/* rgb */ color: rgb(58, 4, 14);
/* oklch */ color: oklch(22.7% 0.083 16.5);
Tailwind
colors: {
  custom: {
    50: '#754a4d',
    500: '#3a040e',
    950: '#000000',
  },
}
SCSS
$custom: #3a040e;
$custom-light: #754a4d;
$custom-dark: #000000;
JSON
{
  "hex": "#3a040e",
  "rgb": {
    "r": 58,
    "g": 4,
    "b": 14
  },
  "hsl": {
    "h": 348.889,
    "s": 87.097,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22718,
    "c": 0.08257,
    "h": 16.5
  },
  "luminance": 0.01018
}

Semantic roles & 50–950 ramp

primary
#3A040E
secondary
#1E7C6A
accent
#FDD62B
background
#F7F4F4
surface
#EDE7E7
border
#C8C3C3
text
#090101
muted
#7B7777

Preview Lab

Preview with #3A040E

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

Preview Lab → · Contrast checker → · Palette generator →

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