#340B04#340B04

#340B04 is a very dark, moderate red. Relative luminance 0.010; OKLCH L 22.2% C 0.068 H 33.6°. Best body text is #FFFFFF at 17.56:1 contrast (WCAG AA passes).

Color values

HEX#340B04
RGBrgb(52, 11, 4)
HSLhsl(9, 86%, 11%)
HSVhsv(9, 92%, 20%)
CMYKcmyk(0%, 78.8%, 92.3%, 79.6%)
CIE-LABlab(8.81, 20.07, 12.02)
CIE-LCHlch(8.81, 23.39, 30.92°)
OKLaboklab(22.15% 0.0566 0.0375)
OKLCHoklch(22.15% 0.068 33.6)
XYZxyz(1.5579, 0.9784, 0.2217)
Luminance0.0098 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340B04 #042D34
analogous
#340415 #340B04 #342304
triadic
#340B04 #04340B #0B0434
tetradic
#340B04 #153404 #042D34 #230434
square
#340B04 #153404 #042D34 #230434
split-complementary
#340B04 #043423 #041534
monochromatic
#1C0602 #1C0602 #340B04 #6D1708 #A6230D

Accessibility & contrast

On white

17.56
#340B04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#340B04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340B04
17.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340B04#FFFFFF#000000##FFFFFF
##340B041.0017.561.2017.56
#FFFFFF17.561.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171303
Deuteranopia (green-blind)
#211C03
Tritanopia (blue-blind)
#3A0209
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #340b04;
/* rgb */ color: rgb(52, 11, 4);
/* oklch */ color: oklch(22.2% 0.068 33.6);
Tailwind
colors: {
  custom: {
    50: '#6f4c48',
    500: '#340b04',
    950: '#000000',
  },
}
SCSS
$custom: #340b04;
$custom-light: #6f4c48;
$custom-dark: #000000;
JSON
{
  "hex": "#340b04",
  "rgb": {
    "r": 52,
    "g": 11,
    "b": 4
  },
  "hsl": {
    "h": 8.75,
    "s": 85.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.22153,
    "c": 0.0679,
    "h": 33.6
  },
  "luminance": 0.00978
}

Semantic roles & 50–950 ramp

primary
#340B04
secondary
#1E6976
accent
#DEFC2C
background
#F7F4F4
surface
#EDE7E6
border
#C8C3C2
text
#080100
muted
#7B7777

Preview Lab

Preview with #340B04

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

Preview Lab → · Contrast checker → · Palette generator →

#340B04 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva