#340F08#340F08

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

Color values

HEX#340F08
RGBrgb(52, 15, 8)
HSLhsl(10, 73%, 12%)
HSVhsv(10, 85%, 20%)
CMYKcmyk(0%, 71.2%, 84.6%, 79.6%)
CIE-LABlab(9.72, 18.12, 11.69)
CIE-LCHlch(9.72, 21.56, 32.82°)
OKLaboklab(22.86% 0.0518 0.0334)
OKLCHoklch(22.86% 0.062 32.8)
XYZxyz(1.6310, 1.0895, 0.3541)
Luminance0.0109 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340F08 #082D34
analogous
#340817 #340F08 #342508
triadic
#340F08 #08340F #0F0834
tetradic
#340F08 #173408 #082D34 #250834
square
#340F08 #173408 #082D34 #250834
split-complementary
#340F08 #083425 #081734
monochromatic
#1B0804 #1B0804 #340F08 #691E10 #9E2E18

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##340F08#FFFFFF#000000##FFFFFF
##340F081.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)
#191607
Deuteranopia (green-blind)
#221E07
Tritanopia (blue-blind)
#3A070D
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #340f08;
/* rgb */ color: rgb(52, 15, 8);
/* oklch */ color: oklch(22.9% 0.062 32.8);
Tailwind
colors: {
  custom: {
    50: '#6f4f4a',
    500: '#340f08',
    950: '#000000',
  },
}
SCSS
$custom: #340f08;
$custom-light: #6f4f4a;
$custom-dark: #000000;
JSON
{
  "hex": "#340f08",
  "rgb": {
    "r": 52,
    "g": 15,
    "b": 8
  },
  "hsl": {
    "h": 9.545,
    "s": 73.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22857,
    "c": 0.06168,
    "h": 32.8
  },
  "luminance": 0.01089
}

Semantic roles & 50–950 ramp

primary
#340F08
secondary
#256673
accent
#D3F038
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#080201
muted
#7B7877

Preview Lab

Preview with #340F08

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

Preview Lab → · Contrast checker → · Palette generator →

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