#340E05#340E05

#340E05 is a very dark, moderate red. Relative luminance 0.011; OKLCH L 22.6% C 0.064 H 35.6°. Best body text is #FFFFFF at 17.34:1 contrast (WCAG AA passes).

Color values

HEX#340E05
RGBrgb(52, 14, 5)
HSLhsl(11, 82%, 11%)
HSVhsv(11, 90%, 20%)
CMYKcmyk(0%, 73.1%, 90.4%, 79.6%)
CIE-LABlab(9.44, 18.49, 12.52)
CIE-LCHlch(9.44, 22.33, 34.10°)
OKLaboklab(22.64% 0.0521 0.0373)
OKLCHoklch(22.64% 0.064 35.6)
XYZxyz(1.6008, 1.0553, 0.2630)
Luminance0.0106 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340E05 #052B34
analogous
#340513 #340E05 #342505
triadic
#340E05 #05340E #0E0534
tetradic
#340E05 #133405 #052B34 #250534
square
#340E05 #133405 #052B34 #250534
split-complementary
#340E05 #053425 #051334
monochromatic
#1C0803 #1C0803 #340E05 #6C1D0A #A42C10

Accessibility & contrast

On white

17.34
#340E05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#340E05 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340E05
17.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340E05#FFFFFF#000000##FFFFFF
##340E051.0017.341.2117.34
#FFFFFF17.341.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191504
Deuteranopia (green-blind)
#221E04
Tritanopia (blue-blind)
#3A050C
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #340e05;
/* rgb */ color: rgb(52, 14, 5);
/* oklch */ color: oklch(22.6% 0.064 35.6);
Tailwind
colors: {
  custom: {
    50: '#6f4e49',
    500: '#340e05',
    950: '#000000',
  },
}
SCSS
$custom: #340e05;
$custom-light: #6f4e49;
$custom-dark: #000000;
JSON
{
  "hex": "#340e05",
  "rgb": {
    "r": 52,
    "g": 14,
    "b": 5
  },
  "hsl": {
    "h": 11.489,
    "s": 82.456,
    "l": 11.176
  },
  "oklch": {
    "l": 0.22636,
    "c": 0.06404,
    "h": 35.6
  },
  "luminance": 0.01055
}

Semantic roles & 50–950 ramp

primary
#340E05
secondary
#1F6575
accent
#D2F92F
background
#F7F4F4
surface
#EDE7E6
border
#C8C3C2
text
#080200
muted
#7B7877

Preview Lab

Preview with #340E05

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

Preview Lab → · Contrast checker → · Palette generator →

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