#340E12#340E12

#340E12 is a very dark, moderate red. Relative luminance 0.011; OKLCH L 22.9% C 0.061 H 17.1°. Best body text is #FFFFFF at 17.25:1 contrast (WCAG AA passes).

Color values

HEX#340E12
RGBrgb(52, 14, 18)
HSLhsl(354, 58%, 13%)
HSVhsv(354, 73%, 20%)
CMYKcmyk(0%, 73.1%, 65.4%, 79.6%)
CIE-LABlab(9.70, 19.52, 6.81)
CIE-LCHlch(9.70, 20.67, 19.24°)
OKLaboklab(22.92% 0.0585 0.018)
OKLCHoklch(22.92% 0.061 17.1)
XYZxyz(1.6825, 1.0880, 0.6936)
Luminance0.0109 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340E12 #0E3430
analogous
#340E25 #340E12 #341D0E
triadic
#340E12 #12340E #0E1234
tetradic
#340E12 #25340E #0E3430 #1D0E34
square
#340E12 #25340E #0E3430 #1D0E34
split-complementary
#340E12 #0E341D #0E2534
monochromatic
#180608 #180608 #340E12 #641B23 #942833

Accessibility & contrast

On white

17.25
#340E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#340E12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340E12
17.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340E12#FFFFFF#000000##FFFFFF
##340E121.0017.251.2217.25
#FFFFFF17.251.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171612
Deuteranopia (green-blind)
#211E11
Tritanopia (blue-blind)
#3A0810
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #340e12;
/* rgb */ color: rgb(52, 14, 18);
/* oklch */ color: oklch(22.9% 0.061 17.1);
Tailwind
colors: {
  custom: {
    50: '#6e4e4f',
    500: '#340e12',
    950: '#000000',
  },
}
SCSS
$custom: #340e12;
$custom-light: #6e4e4f;
$custom-dark: #000000;
JSON
{
  "hex": "#340e12",
  "rgb": {
    "r": 52,
    "g": 14,
    "b": 18
  },
  "hsl": {
    "h": 353.684,
    "s": 57.576,
    "l": 12.941
  },
  "oklch": {
    "l": 0.22915,
    "c": 0.06122,
    "h": 17.1
  },
  "luminance": 0.01088
}

Semantic roles & 50–950 ramp

primary
#340E12
secondary
#2F6F68
accent
#E1D147
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#080202
muted
#7B7878

Preview Lab

Preview with #340E12

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

Preview Lab → · Contrast checker → · Palette generator →

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