#340F09#340F09

#340F09 is a very dark, moderate red. Relative luminance 0.011; OKLCH L 22.9% C 0.061 H 31.5°. Best body text is #FFFFFF at 17.24:1 contrast (WCAG AA passes).

Color values

HEX#340F09
RGBrgb(52, 15, 9)
HSLhsl(8, 70%, 12%)
HSVhsv(8, 83%, 20%)
CMYKcmyk(0%, 71.2%, 82.7%, 79.6%)
CIE-LABlab(9.73, 18.19, 11.30)
CIE-LCHlch(9.73, 21.42, 31.86°)
OKLaboklab(22.88% 0.0523 0.032)
OKLCHoklch(22.88% 0.061 31.5)
XYZxyz(1.6365, 1.0917, 0.3829)
Luminance0.0109 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340F09 #092E34
analogous
#340919 #340F09 #342509
triadic
#340F09 #09340F #0F0934
tetradic
#340F09 #193409 #092E34 #250934
square
#340F09 #193409 #092E34 #250934
split-complementary
#340F09 #093425 #091934
monochromatic
#1A0805 #1A0805 #340F09 #681E12 #9C2D1B

Accessibility & contrast

On white

17.24
#340F09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340F09
17.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340F09#FFFFFF#000000##FFFFFF
##340F091.0017.241.2217.24
#FFFFFF17.241.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191608
Deuteranopia (green-blind)
#221E08
Tritanopia (blue-blind)
#3A070E
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #340f09;
/* rgb */ color: rgb(52, 15, 9);
/* oklch */ color: oklch(22.9% 0.061 31.5);
Tailwind
colors: {
  custom: {
    50: '#6f4f4a',
    500: '#340f09',
    950: '#000000',
  },
}
SCSS
$custom: #340f09;
$custom-light: #6f4f4a;
$custom-dark: #000000;
JSON
{
  "hex": "#340f09",
  "rgb": {
    "r": 52,
    "g": 15,
    "b": 9
  },
  "hsl": {
    "h": 8.372,
    "s": 70.492,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22876,
    "c": 0.06135,
    "h": 31.5
  },
  "luminance": 0.01091
}

Semantic roles & 50–950 ramp

primary
#340F09
secondary
#276872
accent
#D4ED3B
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#080201
muted
#7B7877

Preview Lab

Preview with #340F09

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

Preview Lab → · Contrast checker → · Palette generator →

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