#340D05#340D05

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

Color values

HEX#340D05
RGBrgb(52, 13, 5)
HSLhsl(10, 82%, 11%)
HSVhsv(10, 90%, 20%)
CMYKcmyk(0%, 75%, 90.4%, 79.6%)
CIE-LABlab(9.23, 19.06, 12.22)
CIE-LCHlch(9.23, 22.64, 32.66°)
OKLaboklab(22.48% 0.0538 0.0368)
OKLCHoklch(22.48% 0.065 34.4)
XYZxyz(1.5877, 1.0291, 0.2586)
Luminance0.0103 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340D05 #052C34
analogous
#340514 #340D05 #342405
triadic
#340D05 #05340D #0D0534
tetradic
#340D05 #143405 #052C34 #240534
square
#340D05 #143405 #052C34 #240534
split-complementary
#340D05 #053424 #051434
monochromatic
#1C0703 #1C0703 #340D05 #6C1B0A #A42910

Accessibility & contrast

On white

17.42
#340D05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#340D05 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340D05
17.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340D05#FFFFFF#000000##FFFFFF
##340D051.0017.421.2117.42
#FFFFFF17.421.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181504
Deuteranopia (green-blind)
#221D04
Tritanopia (blue-blind)
#3A040B
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #340d05;
/* rgb */ color: rgb(52, 13, 5);
/* oklch */ color: oklch(22.5% 0.065 34.4);
Tailwind
colors: {
  custom: {
    50: '#6f4e49',
    500: '#340d05',
    950: '#000000',
  },
}
SCSS
$custom: #340d05;
$custom-light: #6f4e49;
$custom-dark: #000000;
JSON
{
  "hex": "#340d05",
  "rgb": {
    "r": 52,
    "g": 13,
    "b": 5
  },
  "hsl": {
    "h": 10.213,
    "s": 82.456,
    "l": 11.176
  },
  "oklch": {
    "l": 0.22475,
    "c": 0.0652,
    "h": 34.4
  },
  "luminance": 0.01029
}

Semantic roles & 50–950 ramp

primary
#340D05
secondary
#1F6775
accent
#D6F92F
background
#F7F4F4
surface
#EDE7E6
border
#C8C3C2
text
#080100
muted
#7B7777

Preview Lab

Preview with #340D05

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

Preview Lab → · Contrast checker → · Palette generator →

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