#340C04#340C04

#340C04 is a very dark, moderate red. Relative luminance 0.010; OKLCH L 22.3% C 0.067 H 34.6°. Best body text is #FFFFFF at 17.49:1 contrast (WCAG AA passes).

Color values

HEX#340C04
RGBrgb(52, 12, 4)
HSLhsl(10, 86%, 11%)
HSVhsv(10, 92%, 20%)
CMYKcmyk(0%, 76.9%, 92.3%, 79.6%)
CIE-LABlab(9.01, 19.54, 12.30)
CIE-LCHlch(9.01, 23.09, 32.20°)
OKLaboklab(22.3% 0.0549 0.038)
OKLCHoklch(22.3% 0.067 34.6)
XYZxyz(1.5697, 1.0020, 0.2256)
Luminance0.0100 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340C04 #042C34
analogous
#340414 #340C04 #342404
triadic
#340C04 #04340C #0C0434
tetradic
#340C04 #143404 #042C34 #240434
square
#340C04 #143404 #042C34 #240434
split-complementary
#340C04 #043424 #041434
monochromatic
#1C0702 #1C0702 #340C04 #6D1908 #A6260D

Accessibility & contrast

On white

17.49
#340C04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#340C04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340C04
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340C04#FFFFFF#000000##FFFFFF
##340C041.0017.491.2017.49
#FFFFFF17.491.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181403
Deuteranopia (green-blind)
#211D03
Tritanopia (blue-blind)
#3A030A
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #340c04;
/* rgb */ color: rgb(52, 12, 4);
/* oklch */ color: oklch(22.3% 0.067 34.6);
Tailwind
colors: {
  custom: {
    50: '#6f4d48',
    500: '#340c04',
    950: '#000000',
  },
}
SCSS
$custom: #340c04;
$custom-light: #6f4d48;
$custom-dark: #000000;
JSON
{
  "hex": "#340c04",
  "rgb": {
    "r": 52,
    "g": 12,
    "b": 4
  },
  "hsl": {
    "h": 10,
    "s": 85.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.22302,
    "c": 0.06677,
    "h": 34.6
  },
  "luminance": 0.01002
}

Semantic roles & 50–950 ramp

primary
#340C04
secondary
#1E6776
accent
#D9FC2C
background
#F7F4F4
surface
#EDE7E6
border
#C8C3C2
text
#080100
muted
#7B7777

Preview Lab

Preview with #340C04

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

Preview Lab → · Contrast checker → · Palette generator →

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