#340E08#340E08

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

Color values

HEX#340E08
RGBrgb(52, 14, 8)
HSLhsl(8, 73%, 12%)
HSVhsv(8, 85%, 20%)
CMYKcmyk(0%, 73.1%, 84.6%, 79.6%)
CIE-LABlab(9.50, 18.70, 11.37)
CIE-LCHlch(9.50, 21.89, 31.31°)
OKLaboklab(22.69% 0.0536 0.0329)
OKLCHoklch(22.69% 0.063 31.5)
XYZxyz(1.6172, 1.0619, 0.3495)
Luminance0.0106 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340E08 #082E34
analogous
#340818 #340E08 #342408
triadic
#340E08 #08340E #0E0834
tetradic
#340E08 #183408 #082E34 #240834
square
#340E08 #183408 #082E34 #240834
split-complementary
#340E08 #083424 #081834
monochromatic
#1B0704 #1B0704 #340E08 #691C10 #9E2B18

Accessibility & contrast

On white

17.32
#340E08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340E08
17.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340E08#FFFFFF#000000##FFFFFF
##340E081.0017.321.2117.32
#FFFFFF17.321.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181507
Deuteranopia (green-blind)
#221E07
Tritanopia (blue-blind)
#3A060D
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #340e08;
/* rgb */ color: rgb(52, 14, 8);
/* oklch */ color: oklch(22.7% 0.063 31.5);
Tailwind
colors: {
  custom: {
    50: '#6f4e4a',
    500: '#340e08',
    950: '#000000',
  },
}
SCSS
$custom: #340e08;
$custom-light: #6f4e4a;
$custom-dark: #000000;
JSON
{
  "hex": "#340e08",
  "rgb": {
    "r": 52,
    "g": 14,
    "b": 8
  },
  "hsl": {
    "h": 8.182,
    "s": 73.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22692,
    "c": 0.06292,
    "h": 31.5
  },
  "luminance": 0.01062
}

Semantic roles & 50–950 ramp

primary
#340E08
secondary
#256873
accent
#D7F038
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#080201
muted
#7B7877

Preview Lab

Preview with #340E08

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

Preview Lab → · Contrast checker → · Palette generator →

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