#340407#340407

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

Color values

HEX#340407
RGBrgb(52, 4, 7)
HSLhsl(356, 86%, 11%)
HSVhsv(356, 92%, 20%)
CMYKcmyk(0%, 92.3%, 86.5%, 79.6%)
CIE-LABlab(7.52, 23.98, 8.92)
CIE-LCHlch(7.52, 25.59, 20.40°)
OKLaboklab(21.2% 0.0701 0.0295)
OKLCHoklch(21.2% 0.076 22.8)
XYZxyz(1.4981, 0.8325, 0.2828)
Luminance0.0083 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340407 #043431
analogous
#34041F #340407 #341904
triadic
#340407 #073404 #040734
tetradic
#340407 #1F3404 #043431 #190434
square
#340407 #1F3404 #043431 #190434
split-complementary
#340407 #043419 #041F34
monochromatic
#1C0204 #1C0204 #340407 #6D080F #A60D16

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##340407#FFFFFF#000000##FFFFFF
##3404071.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)
#121007
Deuteranopia (green-blind)
#1E1A06
Tritanopia (blue-blind)
#3A0005
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #340407;
/* rgb */ color: rgb(52, 4, 7);
/* oklch */ color: oklch(21.2% 0.076 22.8);
Tailwind
colors: {
  custom: {
    50: '#70494a',
    500: '#340407',
    950: '#000000',
  },
}
SCSS
$custom: #340407;
$custom-light: #70494a;
$custom-dark: #000000;
JSON
{
  "hex": "#340407",
  "rgb": {
    "r": 52,
    "g": 4,
    "b": 7
  },
  "hsl": {
    "h": 356.25,
    "s": 85.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.21201,
    "c": 0.07607,
    "h": 22.8
  },
  "luminance": 0.00832
}

Semantic roles & 50–950 ramp

primary
#340407
secondary
#1E7671
accent
#FCEF2C
background
#F7F4F4
surface
#EDE7E7
border
#C8C3C3
text
#080101
muted
#7B7777

Preview Lab

Preview with #340407

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

Preview Lab → · Contrast checker → · Palette generator →

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