#340D0E#340D0E

#340D0E is a very dark, moderate red. Relative luminance 0.011; OKLCH L 22.7% C 0.063 H 22.2°. Best body text is #FFFFFF at 17.36:1 contrast (WCAG AA passes).

Color values

HEX#340D0E
RGBrgb(52, 13, 14)
HSLhsl(358, 60%, 13%)
HSVhsv(358, 75%, 20%)
CMYKcmyk(0%, 75%, 73.1%, 79.6%)
CIE-LABlab(9.40, 19.71, 8.60)
CIE-LCHlch(9.40, 21.50, 23.58°)
OKLaboklab(22.66% 0.0583 0.0238)
OKLCHoklch(22.66% 0.063 22.2)
XYZxyz(1.6395, 1.0498, 0.5317)
Luminance0.0105 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340D0E #0D3433
analogous
#340D21 #340D0E #34200D
triadic
#340D0E #0E340D #0D0E34
tetradic
#340D0E #21340D #0D3433 #200D34
square
#340D0E #21340D #0D3433 #200D34
split-complementary
#340D0E #0D3420 #0D2134
monochromatic
#180607 #180607 #340D0E #65191B #962528

Accessibility & contrast

On white

17.36
#340D0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340D0E
17.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340D0E#FFFFFF#000000##FFFFFF
##340D0E1.0017.361.2117.36
#FFFFFF17.361.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17150E
Deuteranopia (green-blind)
#211D0D
Tritanopia (blue-blind)
#3A060E
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #340d0e;
/* rgb */ color: rgb(52, 13, 14);
/* oklch */ color: oklch(22.7% 0.063 22.2);
Tailwind
colors: {
  custom: {
    50: '#6f4e4d',
    500: '#340d0e',
    950: '#000000',
  },
}
SCSS
$custom: #340d0e;
$custom-light: #6f4e4d;
$custom-dark: #000000;
JSON
{
  "hex": "#340d0e",
  "rgb": {
    "r": 52,
    "g": 13,
    "b": 14
  },
  "hsl": {
    "h": 358.462,
    "s": 60,
    "l": 12.745
  },
  "oklch": {
    "l": 0.22656,
    "c": 0.06294,
    "h": 22.2
  },
  "luminance": 0.0105
}

Semantic roles & 50–950 ramp

primary
#340D0E
secondary
#2D6F6E
accent
#E3DF45
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#080101
muted
#7B7777

Preview Lab

Preview with #340D0E

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

Preview Lab → · Contrast checker → · Palette generator →

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