#340704#340704

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

Color values

HEX#340704
RGBrgb(52, 7, 4)
HSLhsl(4, 86%, 11%)
HSVhsv(4, 92%, 20%)
CMYKcmyk(0%, 86.5%, 92.3%, 79.6%)
CIE-LABlab(8.05, 22.15, 10.91)
CIE-LCHlch(8.05, 24.70, 26.23°)
OKLaboklab(21.58% 0.0631 0.0359)
OKLCHoklch(21.58% 0.073 29.6)
XYZxyz(1.5142, 0.8910, 0.2071)
Luminance0.0089 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340704 #043134
analogous
#340419 #340704 #341F04
triadic
#340704 #043407 #070434
tetradic
#340704 #193404 #043134 #1F0434
square
#340704 #193404 #043134 #1F0434
split-complementary
#340704 #04341F #041934
monochromatic
#1C0402 #1C0402 #340704 #6D0F08 #A6160D

Accessibility & contrast

On white

17.82
#340704 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340704
17.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340704#FFFFFF#000000##FFFFFF
##3407041.0017.821.1817.82
#FFFFFF17.821.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141103
Deuteranopia (green-blind)
#201B03
Tritanopia (blue-blind)
#3A0007
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #340704;
/* rgb */ color: rgb(52, 7, 4);
/* oklch */ color: oklch(21.6% 0.073 29.6);
Tailwind
colors: {
  custom: {
    50: '#6f4a48',
    500: '#340704',
    950: '#000000',
  },
}
SCSS
$custom: #340704;
$custom-light: #6f4a48;
$custom-dark: #000000;
JSON
{
  "hex": "#340704",
  "rgb": {
    "r": 52,
    "g": 7,
    "b": 4
  },
  "hsl": {
    "h": 3.75,
    "s": 85.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.21582,
    "c": 0.07257,
    "h": 29.6
  },
  "luminance": 0.00891
}

Semantic roles & 50–950 ramp

primary
#340704
secondary
#1E7176
accent
#EFFC2C
background
#F7F4F4
surface
#EDE7E6
border
#C8C3C2
text
#080100
muted
#7B7777

Preview Lab

Preview with #340704

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

Preview Lab → · Contrast checker → · Palette generator →

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