#3A040A#3A040A

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

Color values

HEX#3A040A
RGBrgb(58, 4, 10)
HSLhsl(353, 87%, 12%)
HSVhsv(353, 93%, 23%)
CMYKcmyk(0%, 93.1%, 82.8%, 77.3%)
CIE-LABlab(9.06, 26.31, 10.12)
CIE-LCHlch(9.06, 28.19, 21.05°)
OKLaboklab(22.63% 0.0773 0.0293)
OKLCHoklch(22.63% 0.083 20.7)
XYZxyz(1.8433, 1.0086, 0.3847)
Luminance0.0101 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A040A #043A34
analogous
#3A0425 #3A040A #3A1904
triadic
#3A040A #0A3A04 #040A3A
tetradic
#3A040A #253A04 #043A34 #19043A
square
#3A040A #253A04 #043A34 #19043A
split-complementary
#3A040A #043A19 #04253A
monochromatic
#1D0205 #1D0205 #3A040A #730814 #AD0C1E

Accessibility & contrast

On white

17.48
#3A040A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A040A
17.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A040A#FFFFFF#000000##FFFFFF
##3A040A1.0017.481.2017.48
#FFFFFF17.481.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14120A
Deuteranopia (green-blind)
#221E08
Tritanopia (blue-blind)
#410006
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #3a040a;
/* rgb */ color: rgb(58, 4, 10);
/* oklch */ color: oklch(22.6% 0.083 20.7);
Tailwind
colors: {
  custom: {
    50: '#754a4b',
    500: '#3a040a',
    950: '#000000',
  },
}
SCSS
$custom: #3a040a;
$custom-light: #754a4b;
$custom-dark: #000000;
JSON
{
  "hex": "#3a040a",
  "rgb": {
    "r": 58,
    "g": 4,
    "b": 10
  },
  "hsl": {
    "h": 353.333,
    "s": 87.097,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22632,
    "c": 0.08267,
    "h": 20.7
  },
  "luminance": 0.01008
}

Semantic roles & 50–950 ramp

primary
#3A040A
secondary
#1E7C71
accent
#FDE62B
background
#F7F4F4
surface
#EDE7E7
border
#C8C3C3
text
#090101
muted
#7B7777

Preview Lab

Preview with #3A040A

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

Preview Lab → · Contrast checker → · Palette generator →

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