#340C06#340C06

#340C06 is a very dark, moderate red. Relative luminance 0.010; OKLCH L 22.3% C 0.066 H 31.8°. Best body text is #FFFFFF at 17.48:1 contrast (WCAG AA passes).

Color values

HEX#340C06
RGBrgb(52, 12, 6)
HSLhsl(8, 79%, 11%)
HSVhsv(8, 88%, 20%)
CMYKcmyk(0%, 76.9%, 88.5%, 79.6%)
CIE-LABlab(9.04, 19.68, 11.54)
CIE-LCHlch(9.04, 22.81, 30.40°)
OKLaboklab(22.34% 0.0561 0.0348)
OKLCHoklch(22.34% 0.066 31.8)
XYZxyz(1.5807, 1.0064, 0.2833)
Luminance0.0101 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340C06 #062E34
analogous
#340617 #340C06 #342306
triadic
#340C06 #06340C #0C0634
tetradic
#340C06 #173406 #062E34 #230634
square
#340C06 #173406 #062E34 #230634
split-complementary
#340C06 #063423 #061734
monochromatic
#1B0603 #1B0603 #340C06 #6B190C #A22513

Accessibility & contrast

On white

17.48
#340C06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340C06
17.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340C06#FFFFFF#000000##FFFFFF
##340C061.0017.481.2017.48
#FFFFFF17.481.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171405
Deuteranopia (green-blind)
#211D05
Tritanopia (blue-blind)
#3A030B
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #340c06;
/* rgb */ color: rgb(52, 12, 6);
/* oklch */ color: oklch(22.3% 0.066 31.8);
Tailwind
colors: {
  custom: {
    50: '#6f4d49',
    500: '#340c06',
    950: '#000000',
  },
}
SCSS
$custom: #340c06;
$custom-light: #6f4d49;
$custom-dark: #000000;
JSON
{
  "hex": "#340c06",
  "rgb": {
    "r": 52,
    "g": 12,
    "b": 6
  },
  "hsl": {
    "h": 7.826,
    "s": 79.31,
    "l": 11.373
  },
  "oklch": {
    "l": 0.2234,
    "c": 0.06599,
    "h": 31.8
  },
  "luminance": 0.01006
}

Semantic roles & 50–950 ramp

primary
#340C06
secondary
#216A74
accent
#DCF632
background
#F7F4F4
surface
#EDE7E6
border
#C8C3C2
text
#080100
muted
#7B7777

Preview Lab

Preview with #340C06

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

Preview Lab → · Contrast checker → · Palette generator →

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