#340A08#340A08

#340A08 is a very dark, moderate red. Relative luminance 0.010; OKLCH L 22.1% C 0.068 H 27.1°. Best body text is #FFFFFF at 17.60:1 contrast (WCAG AA passes).

Color values

HEX#340A08
RGBrgb(52, 10, 8)
HSLhsl(3, 73%, 12%)
HSVhsv(3, 85%, 20%)
CMYKcmyk(0%, 80.8%, 84.6%, 79.6%)
CIE-LABlab(8.70, 20.86, 10.22)
CIE-LCHlch(8.70, 23.23, 26.12°)
OKLaboklab(22.09% 0.0604 0.0309)
OKLCHoklch(22.09% 0.068 27.1)
XYZxyz(1.5687, 0.9649, 0.3333)
Luminance0.0097 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340A08 #083234
analogous
#34081C #340A08 #342008
triadic
#340A08 #08340A #0A0834
tetradic
#340A08 #1C3408 #083234 #200834
square
#340A08 #1C3408 #083234 #200834
split-complementary
#340A08 #083420 #081C34
monochromatic
#1B0504 #1B0504 #340A08 #691410 #9E1E18

Accessibility & contrast

On white

17.60
#340A08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340A08
17.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340A08#FFFFFF#000000##FFFFFF
##340A081.0017.601.1917.60
#FFFFFF17.601.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161307
Deuteranopia (green-blind)
#201C07
Tritanopia (blue-blind)
#3A020A
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #340a08;
/* rgb */ color: rgb(52, 10, 8);
/* oklch */ color: oklch(22.1% 0.068 27.1);
Tailwind
colors: {
  custom: {
    50: '#6f4c4a',
    500: '#340a08',
    950: '#000000',
  },
}
SCSS
$custom: #340a08;
$custom-light: #6f4c4a;
$custom-dark: #000000;
JSON
{
  "hex": "#340a08",
  "rgb": {
    "r": 52,
    "g": 10,
    "b": 8
  },
  "hsl": {
    "h": 2.727,
    "s": 73.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.2209,
    "c": 0.06783,
    "h": 27.1
  },
  "luminance": 0.00965
}

Semantic roles & 50–950 ramp

primary
#340A08
secondary
#256F73
accent
#E8F038
background
#F7F4F4
surface
#EDE7E7
border
#C8C3C3
text
#080101
muted
#7B7777

Preview Lab

Preview with #340A08

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

Preview Lab → · Contrast checker → · Palette generator →

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