#3A0604#3A0604

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

Color values

HEX#3A0604
RGBrgb(58, 6, 4)
HSLhsl(2, 87%, 12%)
HSVhsv(2, 93%, 23%)
CMYKcmyk(0%, 89.7%, 93.1%, 77.3%)
CIE-LABlab(9.31, 24.96, 12.92)
CIE-LCHlch(9.31, 28.11, 27.37°)
OKLaboklab(22.78% 0.0711 0.039)
OKLCHoklch(22.78% 0.081 28.7)
XYZxyz(1.8322, 1.0389, 0.2189)
Luminance0.0104 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A0604 #04383A
analogous
#3A041D #3A0604 #3A2104
triadic
#3A0604 #043A06 #06043A
tetradic
#3A0604 #1D3A04 #04383A #21043A
square
#3A0604 #1D3A04 #04383A #21043A
split-complementary
#3A0604 #043A21 #041D3A
monochromatic
#1D0302 #1D0302 #3A0604 #730C08 #AD120C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A0604#FFFFFF#000000##FFFFFF
##3A06041.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)
#161303
Deuteranopia (green-blind)
#231E02
Tritanopia (blue-blind)
#410006
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #3a0604;
/* rgb */ color: rgb(58, 6, 4);
/* oklch */ color: oklch(22.8% 0.081 28.7);
Tailwind
colors: {
  custom: {
    50: '#754b48',
    500: '#3a0604',
    950: '#000000',
  },
}
SCSS
$custom: #3a0604;
$custom-light: #754b48;
$custom-dark: #000000;
JSON
{
  "hex": "#3a0604",
  "rgb": {
    "r": 58,
    "g": 6,
    "b": 4
  },
  "hsl": {
    "h": 2.222,
    "s": 87.097,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22782,
    "c": 0.08103,
    "h": 28.7
  },
  "luminance": 0.01039
}

Semantic roles & 50–950 ramp

primary
#3A0604
secondary
#1E787C
accent
#F5FD2B
background
#F7F4F4
surface
#EDE7E6
border
#C8C3C2
text
#090100
muted
#7B7777

Preview Lab

Preview with #3A0604

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

Preview Lab → · Contrast checker → · Palette generator →

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