#340707#340707

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

Color values

HEX#340707
RGBrgb(52, 7, 7)
HSLhsl(0, 76%, 12%)
HSVhsv(0, 87%, 20%)
CMYKcmyk(0%, 86.5%, 86.5%, 79.6%)
CIE-LABlab(8.11, 22.35, 9.78)
CIE-LCHlch(8.11, 24.40, 23.63°)
OKLaboklab(21.65% 0.0648 0.031)
OKLCHoklch(21.65% 0.072 25.5)
XYZxyz(1.5307, 0.8976, 0.2936)
Luminance0.0090 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340707 #073434
analogous
#34071E #340707 #341E07
triadic
#340707 #073407 #070734
tetradic
#340707 #1E3407 #073434 #1E0734
square
#340707 #1E3407 #073434 #1E0734
split-complementary
#340707 #07341E #071E34
monochromatic
#1B0404 #1B0404 #340707 #6A0E0E #A01616

Accessibility & contrast

On white

17.81
#340707 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340707
17.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340707#FFFFFF#000000##FFFFFF
##3407071.0017.811.1817.81
#FFFFFF17.811.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #340707;
/* rgb */ color: rgb(52, 7, 7);
/* oklch */ color: oklch(21.6% 0.072 25.5);
Tailwind
colors: {
  custom: {
    50: '#6f4a4a',
    500: '#340707',
    950: '#000000',
  },
}
SCSS
$custom: #340707;
$custom-light: #6f4a4a;
$custom-dark: #000000;
JSON
{
  "hex": "#340707",
  "rgb": {
    "r": 52,
    "g": 7,
    "b": 7
  },
  "hsl": {
    "h": 0,
    "s": 76.271,
    "l": 11.569
  },
  "oklch": {
    "l": 0.21645,
    "c": 0.07182,
    "h": 25.5
  },
  "luminance": 0.00897
}

Semantic roles & 50–950 ramp

primary
#340707
secondary
#237474
accent
#F3F335
background
#F7F4F4
surface
#EDE7E7
border
#C8C3C3
text
#080101
muted
#7B7777

Preview Lab

Preview with #340707

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

Preview Lab → · Contrast checker → · Palette generator →

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