#340A04#340A04

#340A04 is a very dark, moderate red. Relative luminance 0.010; OKLCH L 22.0% C 0.069 H 32.6°. Best body text is #FFFFFF at 17.63:1 contrast (WCAG AA passes).

Color values

HEX#340A04
RGBrgb(52, 10, 4)
HSLhsl(8, 86%, 11%)
HSVhsv(8, 92%, 20%)
CMYKcmyk(0%, 80.8%, 92.3%, 79.6%)
CIE-LABlab(8.62, 20.59, 11.75)
CIE-LCHlch(8.62, 23.70, 29.71°)
OKLaboklab(22.01% 0.0582 0.0371)
OKLCHoklch(22.01% 0.069 32.6)
XYZxyz(1.5468, 0.9561, 0.2179)
Luminance0.0096 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340A04 #042E34
analogous
#340416 #340A04 #342204
triadic
#340A04 #04340A #0A0434
tetradic
#340A04 #163404 #042E34 #220434
square
#340A04 #163404 #042E34 #220434
split-complementary
#340A04 #043422 #041634
monochromatic
#1C0502 #1C0502 #340A04 #6D1508 #A6200D

Accessibility & contrast

On white

17.63
#340A04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#340A04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340A04
17.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340A04#FFFFFF#000000##FFFFFF
##340A041.0017.631.1917.63
#FFFFFF17.631.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161303
Deuteranopia (green-blind)
#211C03
Tritanopia (blue-blind)
#3A0109
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #340a04;
/* rgb */ color: rgb(52, 10, 4);
/* oklch */ color: oklch(22.0% 0.069 32.6);
Tailwind
colors: {
  custom: {
    50: '#6f4c48',
    500: '#340a04',
    950: '#000000',
  },
}
SCSS
$custom: #340a04;
$custom-light: #6f4c48;
$custom-dark: #000000;
JSON
{
  "hex": "#340a04",
  "rgb": {
    "r": 52,
    "g": 10,
    "b": 4
  },
  "hsl": {
    "h": 7.5,
    "s": 85.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.2201,
    "c": 0.06902,
    "h": 32.6
  },
  "luminance": 0.00956
}

Semantic roles & 50–950 ramp

primary
#340A04
secondary
#1E6B76
accent
#E2FC2C
background
#F7F4F4
surface
#EDE7E6
border
#C8C3C2
text
#080100
muted
#7B7777

Preview Lab

Preview with #340A04

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

Preview Lab → · Contrast checker → · Palette generator →

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