#340C08#340C08

#340C08 is a very dark, moderate red. Relative luminance 0.010; OKLCH L 22.4% C 0.065 H 29.1°. Best body text is #FFFFFF at 17.47:1 contrast (WCAG AA passes).

Color values

HEX#340C08
RGBrgb(52, 12, 8)
HSLhsl(5, 73%, 12%)
HSVhsv(5, 85%, 20%)
CMYKcmyk(0%, 76.9%, 84.6%, 79.6%)
CIE-LABlab(9.08, 19.81, 10.78)
CIE-LCHlch(9.08, 22.55, 28.55°)
OKLaboklab(22.38% 0.0571 0.0318)
OKLCHoklch(22.38% 0.065 29.1)
XYZxyz(1.5916, 1.0108, 0.3410)
Luminance0.0101 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340C08 #083034
analogous
#34081A #340C08 #342208
triadic
#340C08 #08340C #0C0834
tetradic
#340C08 #1A3408 #083034 #220834
square
#340C08 #1A3408 #083034 #220834
split-complementary
#340C08 #083422 #081A34
monochromatic
#1B0604 #1B0604 #340C08 #691810 #9E2418

Accessibility & contrast

On white

17.47
#340C08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340C08
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340C08#FFFFFF#000000##FFFFFF
##340C081.0017.471.2017.47
#FFFFFF17.471.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171407
Deuteranopia (green-blind)
#211D07
Tritanopia (blue-blind)
#3A040B
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #340c08;
/* rgb */ color: rgb(52, 12, 8);
/* oklch */ color: oklch(22.4% 0.065 29.1);
Tailwind
colors: {
  custom: {
    50: '#6f4d4a',
    500: '#340c08',
    950: '#000000',
  },
}
SCSS
$custom: #340c08;
$custom-light: #6f4d4a;
$custom-dark: #000000;
JSON
{
  "hex": "#340c08",
  "rgb": {
    "r": 52,
    "g": 12,
    "b": 8
  },
  "hsl": {
    "h": 5.455,
    "s": 73.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22379,
    "c": 0.06539,
    "h": 29.1
  },
  "luminance": 0.01011
}

Semantic roles & 50–950 ramp

primary
#340C08
secondary
#256C73
accent
#DFF038
background
#F7F4F4
surface
#EDE7E7
border
#C8C3C3
text
#080101
muted
#7B7777

Preview Lab

Preview with #340C08

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

Preview Lab → · Contrast checker → · Palette generator →

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