#340E06#340E06

#340E06 is a very dark, moderate red. Relative luminance 0.011; OKLCH L 22.7% C 0.064 H 34.2°. Best body text is #FFFFFF at 17.34:1 contrast (WCAG AA passes).

Color values

HEX#340E06
RGBrgb(52, 14, 6)
HSLhsl(10, 79%, 11%)
HSVhsv(10, 88%, 20%)
CMYKcmyk(0%, 73.1%, 88.5%, 79.6%)
CIE-LABlab(9.46, 18.56, 12.14)
CIE-LCHlch(9.46, 22.18, 33.18°)
OKLaboklab(22.66% 0.0526 0.0358)
OKLCHoklch(22.66% 0.064 34.2)
XYZxyz(1.6063, 1.0575, 0.2918)
Luminance0.0106 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340E06 #062C34
analogous
#340615 #340E06 #342506
triadic
#340E06 #06340E #0E0634
tetradic
#340E06 #153406 #062C34 #250634
square
#340E06 #153406 #062C34 #250634
split-complementary
#340E06 #063425 #061534
monochromatic
#1B0703 #1B0703 #340E06 #6B1D0C #A22C13

Accessibility & contrast

On white

17.34
#340E06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#340E06 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340E06
17.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340E06#FFFFFF#000000##FFFFFF
##340E061.0017.341.2117.34
#FFFFFF17.341.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191505
Deuteranopia (green-blind)
#221E05
Tritanopia (blue-blind)
#3A050C
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #340e06;
/* rgb */ color: rgb(52, 14, 6);
/* oklch */ color: oklch(22.7% 0.064 34.2);
Tailwind
colors: {
  custom: {
    50: '#6f4e49',
    500: '#340e06',
    950: '#000000',
  },
}
SCSS
$custom: #340e06;
$custom-light: #6f4e49;
$custom-dark: #000000;
JSON
{
  "hex": "#340e06",
  "rgb": {
    "r": 52,
    "g": 14,
    "b": 6
  },
  "hsl": {
    "h": 10.435,
    "s": 79.31,
    "l": 11.373
  },
  "oklch": {
    "l": 0.22655,
    "c": 0.06363,
    "h": 34.2
  },
  "luminance": 0.01057
}

Semantic roles & 50–950 ramp

primary
#340E06
secondary
#216674
accent
#D4F632
background
#F6F4F4
surface
#ECE7E6
border
#C7C3C2
text
#080200
muted
#7B7877

Preview Lab

Preview with #340E06

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

Preview Lab → · Contrast checker → · Palette generator →

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