#340F07#340F07

#340F07 is a very dark, moderate red. Relative luminance 0.011; OKLCH L 22.8% C 0.062 H 34.2°. Best body text is #FFFFFF at 17.25:1 contrast (WCAG AA passes).

Color values

HEX#340F07
RGBrgb(52, 15, 7)
HSLhsl(11, 76%, 12%)
HSVhsv(11, 87%, 20%)
CMYKcmyk(0%, 71.2%, 86.5%, 79.6%)
CIE-LABlab(9.70, 18.05, 12.07)
CIE-LCHlch(9.70, 21.72, 33.77°)
OKLaboklab(22.84% 0.0513 0.0348)
OKLCHoklch(22.84% 0.062 34.2)
XYZxyz(1.6255, 1.0873, 0.3252)
Luminance0.0109 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340F07 #072C34
analogous
#340716 #340F07 #342607
triadic
#340F07 #07340F #0F0734
tetradic
#340F07 #163407 #072C34 #260734
square
#340F07 #163407 #072C34 #260734
split-complementary
#340F07 #073426 #071634
monochromatic
#1B0804 #1B0804 #340F07 #6A1F0E #A02E16

Accessibility & contrast

On white

17.25
#340F07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#340F07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340F07
17.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340F07#FFFFFF#000000##FFFFFF
##340F071.0017.251.2217.25
#FFFFFF17.251.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191606
Deuteranopia (green-blind)
#221E06
Tritanopia (blue-blind)
#3A070D
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #340f07;
/* rgb */ color: rgb(52, 15, 7);
/* oklch */ color: oklch(22.8% 0.062 34.2);
Tailwind
colors: {
  custom: {
    50: '#6f4f4a',
    500: '#340f07',
    950: '#000000',
  },
}
SCSS
$custom: #340f07;
$custom-light: #6f4f4a;
$custom-dark: #000000;
JSON
{
  "hex": "#340f07",
  "rgb": {
    "r": 52,
    "g": 15,
    "b": 7
  },
  "hsl": {
    "h": 10.667,
    "s": 76.271,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22839,
    "c": 0.06205,
    "h": 34.2
  },
  "luminance": 0.01087
}

Semantic roles & 50–950 ramp

primary
#340F07
secondary
#236574
accent
#D1F335
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#080201
muted
#7B7877

Preview Lab

Preview with #340F07

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

Preview Lab → · Contrast checker → · Palette generator →

#340F07 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva