#340D0B#340D0B

#340D0B is a very dark, moderate red. Relative luminance 0.010; OKLCH L 22.6% C 0.063 H 26.4°. Best body text is #FFFFFF at 17.38:1 contrast (WCAG AA passes).

Color values

HEX#340D0B
RGBrgb(52, 13, 11)
HSLhsl(3, 65%, 12%)
HSVhsv(3, 79%, 20%)
CMYKcmyk(0%, 75%, 78.8%, 79.6%)
CIE-LABlab(9.34, 19.47, 9.92)
CIE-LCHlch(9.34, 21.85, 26.99°)
OKLaboklab(22.59% 0.0568 0.0282)
OKLCHoklch(22.59% 0.063 26.4)
XYZxyz(1.6207, 1.0423, 0.4324)
Luminance0.0104 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340D0B #0B3234
analogous
#340B1E #340D0B #34220B
triadic
#340D0B #0B340D #0D0B34
tetradic
#340D0B #1E340B #0B3234 #220B34
square
#340D0B #1E340B #0B3234 #220B34
split-complementary
#340D0B #0B3422 #0B1E34
monochromatic
#190605 #190605 #340D0B #671A16 #992620

Accessibility & contrast

On white

17.38
#340D0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340D0B
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340D0B#FFFFFF#000000##FFFFFF
##340D0B1.0017.381.2117.38
#FFFFFF17.381.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17150B
Deuteranopia (green-blind)
#211D0A
Tritanopia (blue-blind)
#3A050D
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #340d0b;
/* rgb */ color: rgb(52, 13, 11);
/* oklch */ color: oklch(22.6% 0.063 26.4);
Tailwind
colors: {
  custom: {
    50: '#6f4e4b',
    500: '#340d0b',
    950: '#000000',
  },
}
SCSS
$custom: #340d0b;
$custom-light: #6f4e4b;
$custom-dark: #000000;
JSON
{
  "hex": "#340d0b",
  "rgb": {
    "r": 52,
    "g": 13,
    "b": 11
  },
  "hsl": {
    "h": 2.927,
    "s": 65.079,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22591,
    "c": 0.06343,
    "h": 26.4
  },
  "luminance": 0.01042
}

Semantic roles & 50–950 ramp

primary
#340D0B
secondary
#2A6D71
accent
#E0E840
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#080101
muted
#7B7777

Preview Lab

Preview with #340D0B

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

Preview Lab → · Contrast checker → · Palette generator →

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