#340B05#340B05

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

Color values

HEX#340B05
RGBrgb(52, 11, 5)
HSLhsl(8, 82%, 11%)
HSVhsv(8, 90%, 20%)
CMYKcmyk(0%, 78.8%, 90.4%, 79.6%)
CIE-LABlab(8.83, 20.14, 11.64)
CIE-LCHlch(8.83, 23.26, 30.03°)
OKLaboklab(22.17% 0.0572 0.0359)
OKLCHoklch(22.17% 0.068 32.2)
XYZxyz(1.5634, 0.9806, 0.2505)
Luminance0.0098 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340B05 #052E34
analogous
#340516 #340B05 #342205
triadic
#340B05 #05340B #0B0534
tetradic
#340B05 #163405 #052E34 #220534
square
#340B05 #163405 #052E34 #220534
split-complementary
#340B05 #053422 #051634
monochromatic
#1C0603 #1C0603 #340B05 #6C170A #A42310

Accessibility & contrast

On white

17.56
#340B05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340B05
17.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340B05#FFFFFF#000000##FFFFFF
##340B051.0017.561.2017.56
#FFFFFF17.561.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171304
Deuteranopia (green-blind)
#211C04
Tritanopia (blue-blind)
#3A020A
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #340b05;
/* rgb */ color: rgb(52, 11, 5);
/* oklch */ color: oklch(22.2% 0.068 32.2);
Tailwind
colors: {
  custom: {
    50: '#6f4c49',
    500: '#340b05',
    950: '#000000',
  },
}
SCSS
$custom: #340b05;
$custom-light: #6f4c49;
$custom-dark: #000000;
JSON
{
  "hex": "#340b05",
  "rgb": {
    "r": 52,
    "g": 11,
    "b": 5
  },
  "hsl": {
    "h": 7.66,
    "s": 82.456,
    "l": 11.176
  },
  "oklch": {
    "l": 0.22173,
    "c": 0.06751,
    "h": 32.2
  },
  "luminance": 0.0098
}

Semantic roles & 50–950 ramp

primary
#340B05
secondary
#1F6A75
accent
#DFF92F
background
#F7F4F4
surface
#EDE7E6
border
#C8C3C2
text
#080100
muted
#7B7777

Preview Lab

Preview with #340B05

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

Preview Lab → · Contrast checker → · Palette generator →

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