#340A05#340A05

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

Color values

HEX#340A05
RGBrgb(52, 10, 5)
HSLhsl(6, 82%, 11%)
HSVhsv(6, 90%, 20%)
CMYKcmyk(0%, 80.8%, 90.4%, 79.6%)
CIE-LABlab(8.64, 20.65, 11.36)
CIE-LCHlch(8.64, 23.57, 28.82°)
OKLaboklab(22.03% 0.0588 0.0355)
OKLCHoklch(22.03% 0.069 31.1)
XYZxyz(1.5523, 0.9583, 0.2468)
Luminance0.0096 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340A05 #052F34
analogous
#340517 #340A05 #342105
triadic
#340A05 #05340A #0A0534
tetradic
#340A05 #173405 #052F34 #210534
square
#340A05 #173405 #052F34 #210534
split-complementary
#340A05 #053421 #051734
monochromatic
#1C0503 #1C0503 #340A05 #6C150A #A41F10

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##340A05#FFFFFF#000000##FFFFFF
##340A051.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)
#161304
Deuteranopia (green-blind)
#211C04
Tritanopia (blue-blind)
#3A0109
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #340a05;
/* rgb */ color: rgb(52, 10, 5);
/* oklch */ color: oklch(22.0% 0.069 31.1);
Tailwind
colors: {
  custom: {
    50: '#6f4c49',
    500: '#340a05',
    950: '#000000',
  },
}
SCSS
$custom: #340a05;
$custom-light: #6f4c49;
$custom-dark: #000000;
JSON
{
  "hex": "#340a05",
  "rgb": {
    "r": 52,
    "g": 10,
    "b": 5
  },
  "hsl": {
    "h": 6.383,
    "s": 82.456,
    "l": 11.176
  },
  "oklch": {
    "l": 0.2203,
    "c": 0.06865,
    "h": 31.1
  },
  "luminance": 0.00958
}

Semantic roles & 50–950 ramp

primary
#340A05
secondary
#1F6C75
accent
#E3F92F
background
#F7F4F4
surface
#EDE7E6
border
#C8C3C2
text
#080100
muted
#7B7777

Preview Lab

Preview with #340A05

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

Preview Lab → · Contrast checker → · Palette generator →

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