#340904#340904

#340904 is a very dark, moderate red. Relative luminance 0.009; OKLCH L 21.9% C 0.070 H 31.6°. Best body text is #FFFFFF at 17.69:1 contrast (WCAG AA passes).

Color values

HEX#340904
RGBrgb(52, 9, 4)
HSLhsl(6, 86%, 11%)
HSVhsv(6, 92%, 20%)
CMYKcmyk(0%, 82.7%, 92.3%, 79.6%)
CIE-LABlab(8.43, 21.10, 11.47)
CIE-LCHlch(8.43, 24.02, 28.54°)
OKLaboklab(21.87% 0.0598 0.0367)
OKLCHoklch(21.87% 0.07 31.6)
XYZxyz(1.5360, 0.9344, 0.2143)
Luminance0.0093 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340904 #042F34
analogous
#340417 #340904 #342104
triadic
#340904 #043409 #090434
tetradic
#340904 #173404 #042F34 #210434
square
#340904 #173404 #042F34 #210434
split-complementary
#340904 #043421 #041734
monochromatic
#1C0502 #1C0502 #340904 #6D1308 #A61D0D

Accessibility & contrast

On white

17.69
#340904 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#340904 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340904
17.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340904#FFFFFF#000000##FFFFFF
##3409041.0017.691.1917.69
#FFFFFF17.691.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161203
Deuteranopia (green-blind)
#201C03
Tritanopia (blue-blind)
#3A0008
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #340904;
/* rgb */ color: rgb(52, 9, 4);
/* oklch */ color: oklch(21.9% 0.070 31.6);
Tailwind
colors: {
  custom: {
    50: '#6f4b48',
    500: '#340904',
    950: '#000000',
  },
}
SCSS
$custom: #340904;
$custom-light: #6f4b48;
$custom-dark: #000000;
JSON
{
  "hex": "#340904",
  "rgb": {
    "r": 52,
    "g": 9,
    "b": 4
  },
  "hsl": {
    "h": 6.25,
    "s": 85.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.2187,
    "c": 0.07015,
    "h": 31.6
  },
  "luminance": 0.00934
}

Semantic roles & 50–950 ramp

primary
#340904
secondary
#1E6D76
accent
#E6FC2C
background
#F7F4F4
surface
#EDE7E6
border
#C8C3C2
text
#080100
muted
#7B7777

Preview Lab

Preview with #340904

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

Preview Lab → · Contrast checker → · Palette generator →

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