#340F05#340F05

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

Color values

HEX#340F05
RGBrgb(52, 15, 5)
HSLhsl(13, 82%, 11%)
HSVhsv(13, 90%, 20%)
CMYKcmyk(0%, 71.2%, 90.4%, 79.6%)
CIE-LABlab(9.66, 17.91, 12.83)
CIE-LCHlch(9.66, 22.04, 35.62°)
OKLaboklab(22.8% 0.0503 0.0378)
OKLCHoklch(22.8% 0.063 36.9)
XYZxyz(1.6146, 1.0829, 0.2676)
Luminance0.0108 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340F05 #052A34
analogous
#340512 #340F05 #342605
triadic
#340F05 #05340F #0F0534
tetradic
#340F05 #123405 #052A34 #260534
square
#340F05 #123405 #052A34 #260534
split-complementary
#340F05 #053426 #051234
monochromatic
#1C0803 #1C0803 #340F05 #6C1F0A #A42F10

Accessibility & contrast

On white

17.26
#340F05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340F05
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340F05#FFFFFF#000000##FFFFFF
##340F051.0017.261.2217.26
#FFFFFF17.261.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #340f05;
/* rgb */ color: rgb(52, 15, 5);
/* oklch */ color: oklch(22.8% 0.063 36.9);
Tailwind
colors: {
  custom: {
    50: '#6f4f49',
    500: '#340f05',
    950: '#000000',
  },
}
SCSS
$custom: #340f05;
$custom-light: #6f4f49;
$custom-dark: #000000;
JSON
{
  "hex": "#340f05",
  "rgb": {
    "r": 52,
    "g": 15,
    "b": 5
  },
  "hsl": {
    "h": 12.766,
    "s": 82.456,
    "l": 11.176
  },
  "oklch": {
    "l": 0.22802,
    "c": 0.06288,
    "h": 36.9
  },
  "luminance": 0.01083
}

Semantic roles & 50–950 ramp

primary
#340F05
secondary
#1F6375
accent
#CEF92F
background
#F6F4F4
surface
#ECE7E6
border
#C7C3C2
text
#080200
muted
#7B7877

Preview Lab

Preview with #340F05

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

Preview Lab → · Contrast checker → · Palette generator →

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