#340408#340408

#340408 is a very dark, moderate red. Relative luminance 0.008; OKLCH L 21.2% C 0.076 H 21.5°. Best body text is #FFFFFF at 18.00:1 contrast (WCAG AA passes).

Color values

HEX#340408
RGBrgb(52, 4, 8)
HSLhsl(355, 86%, 11%)
HSVhsv(355, 92%, 20%)
CMYKcmyk(0%, 92.3%, 84.6%, 79.6%)
CIE-LABlab(7.54, 24.05, 8.54)
CIE-LCHlch(7.54, 25.52, 19.55°)
OKLaboklab(21.22% 0.0707 0.0279)
OKLCHoklch(21.22% 0.076 21.5)
XYZxyz(1.5036, 0.8347, 0.3116)
Luminance0.0083 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340408 #043430
analogous
#340420 #340408 #341804
triadic
#340408 #083404 #040834
tetradic
#340408 #203404 #043430 #180434
square
#340408 #203404 #043430 #180434
split-complementary
#340408 #043418 #042034
monochromatic
#1C0204 #1C0204 #340408 #6D0811 #A60D19

Accessibility & contrast

On white

18.00
#340408 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#340408 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340408
18.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340408#FFFFFF#000000##FFFFFF
##3404081.0018.001.1718.00
#FFFFFF18.001.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121008
Deuteranopia (green-blind)
#1E1A07
Tritanopia (blue-blind)
#3A0006
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #340408;
/* rgb */ color: rgb(52, 4, 8);
/* oklch */ color: oklch(21.2% 0.076 21.5);
Tailwind
colors: {
  custom: {
    50: '#70494a',
    500: '#340408',
    950: '#000000',
  },
}
SCSS
$custom: #340408;
$custom-light: #70494a;
$custom-dark: #000000;
JSON
{
  "hex": "#340408",
  "rgb": {
    "r": 52,
    "g": 4,
    "b": 8
  },
  "hsl": {
    "h": 355,
    "s": 85.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.21223,
    "c": 0.07595,
    "h": 21.5
  },
  "luminance": 0.00834
}

Semantic roles & 50–950 ramp

primary
#340408
secondary
#1E766F
accent
#FCEB2C
background
#F7F4F4
surface
#EDE7E7
border
#C8C3C3
text
#080101
muted
#7B7777

Preview Lab

Preview with #340408

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

Preview Lab → · Contrast checker → · Palette generator →

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