#340808#340808

#340808 is a very dark, moderate red. Relative luminance 0.009; OKLCH L 21.8% C 0.070 H 25.2°. Best body text is #FFFFFF at 17.73:1 contrast (WCAG AA passes).

Color values

HEX#340808
RGBrgb(52, 8, 8)
HSLhsl(0, 73%, 12%)
HSVhsv(0, 85%, 20%)
CMYKcmyk(0%, 84.6%, 84.6%, 79.6%)
CIE-LABlab(8.32, 21.89, 9.68)
CIE-LCHlch(8.32, 23.93, 23.86°)
OKLaboklab(21.81% 0.0636 0.0299)
OKLCHoklch(21.81% 0.07 25.2)
XYZxyz(1.5470, 0.9215, 0.3261)
Luminance0.0092 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340808 #083434
analogous
#34081E #340808 #341E08
triadic
#340808 #083408 #080834
tetradic
#340808 #1E3408 #083434 #1E0834
square
#340808 #1E3408 #083434 #1E0834
split-complementary
#340808 #08341E #081E34
monochromatic
#1B0404 #1B0404 #340808 #691010 #9E1818

Accessibility & contrast

On white

17.73
#340808 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340808
17.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340808#FFFFFF#000000##FFFFFF
##3408081.0017.731.1817.73
#FFFFFF17.731.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151208
Deuteranopia (green-blind)
#201C07
Tritanopia (blue-blind)
#3A0008
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #340808;
/* rgb */ color: rgb(52, 8, 8);
/* oklch */ color: oklch(21.8% 0.070 25.2);
Tailwind
colors: {
  custom: {
    50: '#6f4b4a',
    500: '#340808',
    950: '#000000',
  },
}
SCSS
$custom: #340808;
$custom-light: #6f4b4a;
$custom-dark: #000000;
JSON
{
  "hex": "#340808",
  "rgb": {
    "r": 52,
    "g": 8,
    "b": 8
  },
  "hsl": {
    "h": 0,
    "s": 73.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.21809,
    "c": 0.07032,
    "h": 25.2
  },
  "luminance": 0.00921
}

Semantic roles & 50–950 ramp

primary
#340808
secondary
#257373
accent
#F0F038
background
#F7F4F4
surface
#EDE7E7
border
#C8C3C3
text
#080101
muted
#7B7777

Preview Lab

Preview with #340808

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

Preview Lab → · Contrast checker → · Palette generator →

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