#340706#340706

#340706 is a very dark, moderate red. Relative luminance 0.009; OKLCH L 21.6% C 0.072 H 26.9°. Best body text is #FFFFFF at 17.81:1 contrast (WCAG AA passes).

Color values

HEX#340706
RGBrgb(52, 7, 6)
HSLhsl(1, 79%, 11%)
HSVhsv(1, 88%, 20%)
CMYKcmyk(0%, 86.5%, 88.5%, 79.6%)
CIE-LABlab(8.09, 22.29, 10.16)
CIE-LCHlch(8.09, 24.49, 24.50°)
OKLaboklab(21.62% 0.0643 0.0326)
OKLCHoklch(21.62% 0.072 26.9)
XYZxyz(1.5252, 0.8954, 0.2648)
Luminance0.0089 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340706 #063334
analogous
#34061C #340706 #341E06
triadic
#340706 #063407 #070634
tetradic
#340706 #1C3406 #063334 #1E0634
square
#340706 #1C3406 #063334 #1E0634
split-complementary
#340706 #06341E #061C34
monochromatic
#1B0403 #1B0403 #340706 #6B0E0C #A21613

Accessibility & contrast

On white

17.81
#340706 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#340706 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340706
17.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340706#FFFFFF#000000##FFFFFF
##3407061.0017.811.1817.81
#FFFFFF17.811.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141106
Deuteranopia (green-blind)
#1F1B05
Tritanopia (blue-blind)
#3A0007
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #340706;
/* rgb */ color: rgb(52, 7, 6);
/* oklch */ color: oklch(21.6% 0.072 26.9);
Tailwind
colors: {
  custom: {
    50: '#6f4a49',
    500: '#340706',
    950: '#000000',
  },
}
SCSS
$custom: #340706;
$custom-light: #6f4a49;
$custom-dark: #000000;
JSON
{
  "hex": "#340706",
  "rgb": {
    "r": 52,
    "g": 7,
    "b": 6
  },
  "hsl": {
    "h": 1.304,
    "s": 79.31,
    "l": 11.373
  },
  "oklch": {
    "l": 0.21624,
    "c": 0.07203,
    "h": 26.9
  },
  "luminance": 0.00895
}

Semantic roles & 50–950 ramp

primary
#340706
secondary
#217374
accent
#F2F632
background
#F7F4F4
surface
#EDE7E6
border
#C8C3C2
text
#080100
muted
#7B7777

Preview Lab

Preview with #340706

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

Preview Lab → · Contrast checker → · Palette generator →

#340706 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva