#340B06#340B06

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

Color values

HEX#340B06
RGBrgb(52, 11, 6)
HSLhsl(7, 79%, 11%)
HSVhsv(7, 88%, 20%)
CMYKcmyk(0%, 78.8%, 88.5%, 79.6%)
CIE-LABlab(8.85, 20.21, 11.26)
CIE-LCHlch(8.85, 23.13, 29.13°)
OKLaboklab(22.19% 0.0577 0.0344)
OKLCHoklch(22.19% 0.067 30.8)
XYZxyz(1.5689, 0.9828, 0.2793)
Luminance0.0098 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340B06 #062F34
analogous
#340618 #340B06 #342206
triadic
#340B06 #06340B #0B0634
tetradic
#340B06 #183406 #062F34 #220634
square
#340B06 #183406 #062F34 #220634
split-complementary
#340B06 #063422 #061834
monochromatic
#1B0603 #1B0603 #340B06 #6B170C #A22213

Accessibility & contrast

On white

17.55
#340B06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340B06
17.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340B06#FFFFFF#000000##FFFFFF
##340B061.0017.551.2017.55
#FFFFFF17.551.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171305
Deuteranopia (green-blind)
#211D05
Tritanopia (blue-blind)
#3A020A
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #340b06;
/* rgb */ color: rgb(52, 11, 6);
/* oklch */ color: oklch(22.2% 0.067 30.8);
Tailwind
colors: {
  custom: {
    50: '#6f4d49',
    500: '#340b06',
    950: '#000000',
  },
}
SCSS
$custom: #340b06;
$custom-light: #6f4d49;
$custom-dark: #000000;
JSON
{
  "hex": "#340b06",
  "rgb": {
    "r": 52,
    "g": 11,
    "b": 6
  },
  "hsl": {
    "h": 6.522,
    "s": 79.31,
    "l": 11.373
  },
  "oklch": {
    "l": 0.22192,
    "c": 0.06717,
    "h": 30.8
  },
  "luminance": 0.00983
}

Semantic roles & 50–950 ramp

primary
#340B06
secondary
#216B74
accent
#E0F632
background
#F7F4F4
surface
#EDE7E6
border
#C8C3C2
text
#080100
muted
#7B7777

Preview Lab

Preview with #340B06

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

Preview Lab → · Contrast checker → · Palette generator →

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