#340A06#340A06

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

Color values

HEX#340A06
RGBrgb(52, 10, 6)
HSLhsl(5, 79%, 11%)
HSVhsv(5, 88%, 20%)
CMYKcmyk(0%, 80.8%, 88.5%, 79.6%)
CIE-LABlab(8.66, 20.72, 10.99)
CIE-LCHlch(8.66, 23.45, 27.93°)
OKLaboklab(22.05% 0.0593 0.0339)
OKLCHoklch(22.05% 0.068 29.8)
XYZxyz(1.5578, 0.9605, 0.2756)
Luminance0.0096 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340A06 #063034
analogous
#340619 #340A06 #342106
triadic
#340A06 #06340A #0A0634
tetradic
#340A06 #193406 #063034 #210634
square
#340A06 #193406 #063034 #210634
split-complementary
#340A06 #063421 #061934
monochromatic
#1B0503 #1B0503 #340A06 #6B150C #A21F13

Accessibility & contrast

On white

17.62
#340A06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340A06
17.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340A06#FFFFFF#000000##FFFFFF
##340A061.0017.621.1917.62
#FFFFFF17.621.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161305
Deuteranopia (green-blind)
#201C05
Tritanopia (blue-blind)
#3A0109
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #340a06;
/* rgb */ color: rgb(52, 10, 6);
/* oklch */ color: oklch(22.1% 0.068 29.8);
Tailwind
colors: {
  custom: {
    50: '#6f4c49',
    500: '#340a06',
    950: '#000000',
  },
}
SCSS
$custom: #340a06;
$custom-light: #6f4c49;
$custom-dark: #000000;
JSON
{
  "hex": "#340a06",
  "rgb": {
    "r": 52,
    "g": 10,
    "b": 6
  },
  "hsl": {
    "h": 5.217,
    "s": 79.31,
    "l": 11.373
  },
  "oklch": {
    "l": 0.2205,
    "c": 0.06834,
    "h": 29.8
  },
  "luminance": 0.0096
}

Semantic roles & 50–950 ramp

primary
#340A06
secondary
#216D74
accent
#E5F632
background
#F7F4F4
surface
#EDE7E6
border
#C8C3C2
text
#080100
muted
#7B7777

Preview Lab

Preview with #340A06

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

Preview Lab → · Contrast checker → · Palette generator →

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