#340F06#340F06

#340F06 is a very dark, moderate red. Relative luminance 0.011; OKLCH L 22.8% C 0.062 H 35.5°. Best body text is #FFFFFF at 17.26:1 contrast (WCAG AA passes).

Color values

HEX#340F06
RGBrgb(52, 15, 6)
HSLhsl(12, 79%, 11%)
HSVhsv(12, 88%, 20%)
CMYKcmyk(0%, 71.2%, 88.5%, 79.6%)
CIE-LABlab(9.68, 17.98, 12.45)
CIE-LCHlch(9.68, 21.87, 34.70°)
OKLaboklab(22.82% 0.0508 0.0363)
OKLCHoklch(22.82% 0.062 35.5)
XYZxyz(1.6200, 1.0851, 0.2964)
Luminance0.0109 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340F06 #062B34
analogous
#340614 #340F06 #342606
triadic
#340F06 #06340F #0F0634
tetradic
#340F06 #143406 #062B34 #260634
square
#340F06 #143406 #062B34 #260634
split-complementary
#340F06 #063426 #061434
monochromatic
#1B0803 #1B0803 #340F06 #6B1F0C #A22F13

Accessibility & contrast

On white

17.26
#340F06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#340F06 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340F06
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340F06#FFFFFF#000000##FFFFFF
##340F061.0017.261.2217.26
#FFFFFF17.261.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191605
Deuteranopia (green-blind)
#221E05
Tritanopia (blue-blind)
#3A070D
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #340f06;
/* rgb */ color: rgb(52, 15, 6);
/* oklch */ color: oklch(22.8% 0.062 35.5);
Tailwind
colors: {
  custom: {
    50: '#6f4f49',
    500: '#340f06',
    950: '#000000',
  },
}
SCSS
$custom: #340f06;
$custom-light: #6f4f49;
$custom-dark: #000000;
JSON
{
  "hex": "#340f06",
  "rgb": {
    "r": 52,
    "g": 15,
    "b": 6
  },
  "hsl": {
    "h": 11.739,
    "s": 79.31,
    "l": 11.373
  },
  "oklch": {
    "l": 0.2282,
    "c": 0.06244,
    "h": 35.5
  },
  "luminance": 0.01085
}

Semantic roles & 50–950 ramp

primary
#340F06
secondary
#216474
accent
#CFF632
background
#F6F4F4
surface
#ECE7E6
border
#C7C3C2
text
#080200
muted
#7B7877

Preview Lab

Preview with #340F06

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

Preview Lab → · Contrast checker → · Palette generator →

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