#340807#340807

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

Color values

HEX#340807
RGBrgb(52, 8, 7)
HSLhsl(1, 76%, 12%)
HSVhsv(1, 87%, 20%)
CMYKcmyk(0%, 84.6%, 86.5%, 79.6%)
CIE-LABlab(8.30, 21.82, 10.06)
CIE-LCHlch(8.30, 24.03, 24.75°)
OKLaboklab(21.79% 0.0631 0.0315)
OKLCHoklch(21.79% 0.071 26.5)
XYZxyz(1.5415, 0.9193, 0.2972)
Luminance0.0092 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340807 #073334
analogous
#34071D #340807 #341F07
triadic
#340807 #073408 #080734
tetradic
#340807 #1D3407 #073334 #1F0734
square
#340807 #1D3407 #073334 #1F0734
split-complementary
#340807 #07341F #071D34
monochromatic
#1B0404 #1B0404 #340807 #6A100E #A01916

Accessibility & contrast

On white

17.74
#340807 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340807
17.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340807#FFFFFF#000000##FFFFFF
##3408071.0017.741.1817.74
#FFFFFF17.741.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #340807;
/* rgb */ color: rgb(52, 8, 7);
/* oklch */ color: oklch(21.8% 0.071 26.5);
Tailwind
colors: {
  custom: {
    50: '#6f4b4a',
    500: '#340807',
    950: '#000000',
  },
}
SCSS
$custom: #340807;
$custom-light: #6f4b4a;
$custom-dark: #000000;
JSON
{
  "hex": "#340807",
  "rgb": {
    "r": 52,
    "g": 8,
    "b": 7
  },
  "hsl": {
    "h": 1.333,
    "s": 76.271,
    "l": 11.569
  },
  "oklch": {
    "l": 0.21789,
    "c": 0.07052,
    "h": 26.5
  },
  "luminance": 0.00919
}

Semantic roles & 50–950 ramp

primary
#340807
secondary
#237274
accent
#EFF335
background
#F7F4F4
surface
#EDE7E7
border
#C8C3C3
text
#080101
muted
#7B7777

Preview Lab

Preview with #340807

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

Preview Lab → · Contrast checker → · Palette generator →

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