#340708#340708

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

Color values

HEX#340708
RGBrgb(52, 7, 8)
HSLhsl(359, 76%, 12%)
HSVhsv(359, 87%, 20%)
CMYKcmyk(0%, 86.5%, 84.6%, 79.6%)
CIE-LABlab(8.13, 22.42, 9.40)
CIE-LCHlch(8.13, 24.31, 22.75°)
OKLaboklab(21.67% 0.0653 0.0294)
OKLCHoklch(21.67% 0.072 24.3)
XYZxyz(1.5362, 0.8998, 0.3225)
Luminance0.0090 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340708 #073433
analogous
#34071F #340708 #341D07
triadic
#340708 #083407 #070834
tetradic
#340708 #1F3407 #073433 #1D0734
square
#340708 #1F3407 #073433 #1D0734
split-complementary
#340708 #07341D #071F34
monochromatic
#1B0404 #1B0404 #340708 #6A0E10 #A01619

Accessibility & contrast

On white

17.80
#340708 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340708
17.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340708#FFFFFF#000000##FFFFFF
##3407081.0017.801.1817.80
#FFFFFF17.801.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141208
Deuteranopia (green-blind)
#1F1B07
Tritanopia (blue-blind)
#3A0008
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #340708;
/* rgb */ color: rgb(52, 7, 8);
/* oklch */ color: oklch(21.7% 0.072 24.3);
Tailwind
colors: {
  custom: {
    50: '#6f4a4a',
    500: '#340708',
    950: '#000000',
  },
}
SCSS
$custom: #340708;
$custom-light: #6f4a4a;
$custom-dark: #000000;
JSON
{
  "hex": "#340708",
  "rgb": {
    "r": 52,
    "g": 7,
    "b": 8
  },
  "hsl": {
    "h": 358.667,
    "s": 76.271,
    "l": 11.569
  },
  "oklch": {
    "l": 0.21666,
    "c": 0.07165,
    "h": 24.3
  },
  "luminance": 0.009
}

Semantic roles & 50–950 ramp

primary
#340708
secondary
#237472
accent
#F3EF35
background
#F7F4F4
surface
#EDE7E7
border
#C8C3C3
text
#080101
muted
#7B7777

Preview Lab

Preview with #340708

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

Preview Lab → · Contrast checker → · Palette generator →

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