#340B07#340B07

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

Color values

HEX#340B07
RGBrgb(52, 11, 7)
HSLhsl(5, 76%, 12%)
HSVhsv(5, 87%, 20%)
CMYKcmyk(0%, 78.8%, 86.5%, 79.6%)
CIE-LABlab(8.87, 20.28, 10.88)
CIE-LCHlch(8.87, 23.01, 28.21°)
OKLaboklab(22.21% 0.0583 0.0328)
OKLCHoklch(22.21% 0.067 29.4)
XYZxyz(1.5744, 0.9850, 0.3082)
Luminance0.0098 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340B07 #073034
analogous
#34071A #340B07 #342207
triadic
#340B07 #07340B #0B0734
tetradic
#340B07 #1A3407 #073034 #220734
square
#340B07 #1A3407 #073034 #220734
split-complementary
#340B07 #073422 #071A34
monochromatic
#1B0604 #1B0604 #340B07 #6A160E #A02216

Accessibility & contrast

On white

17.54
#340B07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340B07
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340B07#FFFFFF#000000##FFFFFF
##340B071.0017.541.2017.54
#FFFFFF17.541.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.541.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #340b07;
/* rgb */ color: rgb(52, 11, 7);
/* oklch */ color: oklch(22.2% 0.067 29.4);
Tailwind
colors: {
  custom: {
    50: '#6f4d4a',
    500: '#340b07',
    950: '#000000',
  },
}
SCSS
$custom: #340b07;
$custom-light: #6f4d4a;
$custom-dark: #000000;
JSON
{
  "hex": "#340b07",
  "rgb": {
    "r": 52,
    "g": 11,
    "b": 7
  },
  "hsl": {
    "h": 5.333,
    "s": 76.271,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22212,
    "c": 0.06688,
    "h": 29.4
  },
  "luminance": 0.00985
}

Semantic roles & 50–950 ramp

primary
#340B07
secondary
#236D74
accent
#E2F335
background
#F7F4F4
surface
#EDE7E7
border
#C8C3C3
text
#080101
muted
#7B7777

Preview Lab

Preview with #340B07

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

Preview Lab → · Contrast checker → · Palette generator →

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