#3A0904#3A0904

#3A0904 is a very dark, moderate red. Relative luminance 0.011; OKLCH L 23.2% C 0.078 H 31.0°. Best body text is #FFFFFF at 17.20:1 contrast (WCAG AA passes).

Color values

HEX#3A0904
RGBrgb(58, 9, 4)
HSLhsl(6, 87%, 12%)
HSVhsv(6, 93%, 23%)
CMYKcmyk(0%, 84.5%, 93.1%, 77.3%)
CIE-LABlab(9.83, 23.52, 13.66)
CIE-LCHlch(9.83, 27.20, 30.15°)
OKLaboklab(23.17% 0.0666 0.04)
OKLCHoklch(23.17% 0.078 31)
XYZxyz(1.8647, 1.1040, 0.2297)
Luminance0.0110 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0904 #04353A
analogous
#3A041A #3A0904 #3A2404
triadic
#3A0904 #043A09 #09043A
tetradic
#3A0904 #1A3A04 #04353A #24043A
square
#3A0904 #1A3A04 #04353A #24043A
split-complementary
#3A0904 #043A24 #041A3A
monochromatic
#1D0402 #1D0402 #3A0904 #731208 #AD1B0C

Accessibility & contrast

On white

17.20
#3A0904 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#3A0904 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A0904
17.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A0904#FFFFFF#000000##FFFFFF
##3A09041.0017.201.2217.20
#FFFFFF17.201.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181403
Deuteranopia (green-blind)
#241F03
Tritanopia (blue-blind)
#410008
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #3a0904;
/* rgb */ color: rgb(58, 9, 4);
/* oklch */ color: oklch(23.2% 0.078 31.0);
Tailwind
colors: {
  custom: {
    50: '#754c48',
    500: '#3a0904',
    950: '#000000',
  },
}
SCSS
$custom: #3a0904;
$custom-light: #754c48;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0904",
  "rgb": {
    "r": 58,
    "g": 9,
    "b": 4
  },
  "hsl": {
    "h": 5.556,
    "s": 87.097,
    "l": 12.157
  },
  "oklch": {
    "l": 0.23168,
    "c": 0.07766,
    "h": 31
  },
  "luminance": 0.01104
}

Semantic roles & 50–950 ramp

primary
#3A0904
secondary
#1E737C
accent
#EAFD2B
background
#F7F4F4
surface
#EDE7E6
border
#C8C3C2
text
#090100
muted
#7B7777

Preview Lab

Preview with #3A0904

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

Preview Lab → · Contrast checker → · Palette generator →

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