#340F12#340F12

#340F12 is a very dark, muted red. Relative luminance 0.011; OKLCH L 23.1% C 0.060 H 18.2°. Best body text is #FFFFFF at 17.17:1 contrast (WCAG AA passes).

Color values

HEX#340F12
RGBrgb(52, 15, 18)
HSLhsl(355, 55%, 13%)
HSVhsv(355, 71%, 20%)
CMYKcmyk(0%, 71.2%, 65.4%, 79.6%)
CIE-LABlab(9.92, 18.94, 7.12)
CIE-LCHlch(9.92, 20.23, 20.59°)
OKLaboklab(23.08% 0.0567 0.0187)
OKLCHoklch(23.08% 0.06 18.2)
XYZxyz(1.6963, 1.1156, 0.6982)
Luminance0.0112 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340F12 #0F3431
analogous
#340F24 #340F12 #341E0F
triadic
#340F12 #12340F #0F1234
tetradic
#340F12 #24340F #0F3431 #1E0F34
square
#340F12 #24340F #0F3431 #1E0F34
split-complementary
#340F12 #0F341E #0F2434
monochromatic
#180708 #180708 #340F12 #631D22 #932A33

Accessibility & contrast

On white

17.17
#340F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340F12
17.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340F12#FFFFFF#000000##FFFFFF
##340F121.0017.171.2217.17
#FFFFFF17.171.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #340f12;
/* rgb */ color: rgb(52, 15, 18);
/* oklch */ color: oklch(23.1% 0.060 18.2);
Tailwind
colors: {
  custom: {
    50: '#6e4f4f',
    500: '#340f12',
    950: '#000000',
  },
}
SCSS
$custom: #340f12;
$custom-light: #6e4f4f;
$custom-dark: #000000;
JSON
{
  "hex": "#340f12",
  "rgb": {
    "r": 52,
    "g": 15,
    "b": 18
  },
  "hsl": {
    "h": 355.135,
    "s": 55.224,
    "l": 13.137
  },
  "oklch": {
    "l": 0.23077,
    "c": 0.0597,
    "h": 18.2
  },
  "luminance": 0.01115
}

Semantic roles & 50–950 ramp

primary
#340F12
secondary
#316E69
accent
#DFD249
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070202
muted
#7A7878

Preview Lab

Preview with #340F12

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

Preview Lab → · Contrast checker → · Palette generator →

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