#340B09#340B09

#340B09 is a very dark, moderate red. Relative luminance 0.010; OKLCH L 22.3% C 0.066 H 26.8°. Best body text is #FFFFFF at 17.53:1 contrast (WCAG AA passes).

Color values

HEX#340B09
RGBrgb(52, 11, 9)
HSLhsl(3, 70%, 12%)
HSVhsv(3, 83%, 20%)
CMYKcmyk(0%, 78.8%, 82.7%, 79.6%)
CIE-LABlab(8.90, 20.41, 10.12)
CIE-LCHlch(8.90, 22.78, 26.36°)
OKLaboklab(22.25% 0.0593 0.0299)
OKLCHoklch(22.25% 0.066 26.8)
XYZxyz(1.5853, 0.9894, 0.3659)
Luminance0.0099 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340B09 #093234
analogous
#34091D #340B09 #342109
triadic
#340B09 #09340B #0B0934
tetradic
#340B09 #1D3409 #093234 #210934
square
#340B09 #1D3409 #093234 #210934
split-complementary
#340B09 #093421 #091D34
monochromatic
#1A0605 #1A0605 #340B09 #681612 #9C211B

Accessibility & contrast

On white

17.53
#340B09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340B09
17.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340B09#FFFFFF#000000##FFFFFF
##340B091.0017.531.2017.53
#FFFFFF17.531.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161408
Deuteranopia (green-blind)
#211D08
Tritanopia (blue-blind)
#3A030B
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #340b09;
/* rgb */ color: rgb(52, 11, 9);
/* oklch */ color: oklch(22.3% 0.066 26.8);
Tailwind
colors: {
  custom: {
    50: '#6f4d4a',
    500: '#340b09',
    950: '#000000',
  },
}
SCSS
$custom: #340b09;
$custom-light: #6f4d4a;
$custom-dark: #000000;
JSON
{
  "hex": "#340b09",
  "rgb": {
    "r": 52,
    "g": 11,
    "b": 9
  },
  "hsl": {
    "h": 2.791,
    "s": 70.492,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22251,
    "c": 0.06639,
    "h": 26.8
  },
  "luminance": 0.00989
}

Semantic roles & 50–950 ramp

primary
#340B09
secondary
#276F72
accent
#E5ED3B
background
#F7F4F4
surface
#EDE7E7
border
#C8C3C3
text
#080101
muted
#7B7777

Preview Lab

Preview with #340B09

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

Preview Lab → · Contrast checker → · Palette generator →

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