#340604#340604

#340604 is a very dark, moderate red. Relative luminance 0.009; OKLCH L 21.4% C 0.074 H 28.7°. Best body text is #FFFFFF at 17.89:1 contrast (WCAG AA passes).

Color values

HEX#340604
RGBrgb(52, 6, 4)
HSLhsl(3, 86%, 11%)
HSVhsv(3, 92%, 20%)
CMYKcmyk(0%, 88.5%, 92.3%, 79.6%)
CIE-LABlab(7.85, 22.70, 10.63)
CIE-LCHlch(7.85, 25.06, 25.09°)
OKLaboklab(21.44% 0.0648 0.0355)
OKLCHoklch(21.44% 0.074 28.7)
XYZxyz(1.5034, 0.8693, 0.2035)
Luminance0.0087 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340604 #043234
analogous
#34041A #340604 #341E04
triadic
#340604 #043406 #060434
tetradic
#340604 #1A3404 #043234 #1E0434
square
#340604 #1A3404 #043234 #1E0434
split-complementary
#340604 #04341E #041A34
monochromatic
#1C0302 #1C0302 #340604 #6D0D08 #A6130D

Accessibility & contrast

On white

17.89
#340604 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#340604 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340604
17.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340604#FFFFFF#000000##FFFFFF
##3406041.0017.891.1717.89
#FFFFFF17.891.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141103
Deuteranopia (green-blind)
#1F1B03
Tritanopia (blue-blind)
#3A0006
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #340604;
/* rgb */ color: rgb(52, 6, 4);
/* oklch */ color: oklch(21.4% 0.074 28.7);
Tailwind
colors: {
  custom: {
    50: '#704a48',
    500: '#340604',
    950: '#000000',
  },
}
SCSS
$custom: #340604;
$custom-light: #704a48;
$custom-dark: #000000;
JSON
{
  "hex": "#340604",
  "rgb": {
    "r": 52,
    "g": 6,
    "b": 4
  },
  "hsl": {
    "h": 2.5,
    "s": 85.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.21435,
    "c": 0.07386,
    "h": 28.7
  },
  "luminance": 0.00869
}

Semantic roles & 50–950 ramp

primary
#340604
secondary
#1E7376
accent
#F3FC2C
background
#F7F4F4
surface
#EDE7E6
border
#C8C3C2
text
#080100
muted
#7B7777

Preview Lab

Preview with #340604

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

Preview Lab → · Contrast checker → · Palette generator →

#340604 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva