#340F13#340F13

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

Color values

HEX#340F13
RGBrgb(52, 15, 19)
HSLhsl(354, 55%, 13%)
HSVhsv(354, 71%, 20%)
CMYKcmyk(0%, 71.2%, 63.5%, 79.6%)
CIE-LABlab(9.95, 19.05, 6.53)
CIE-LCHlch(9.95, 20.14, 18.92°)
OKLaboklab(23.11% 0.0572 0.017)
OKLCHoklch(23.11% 0.06 16.6)
XYZxyz(1.7047, 1.1189, 0.7422)
Luminance0.0112 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340F13 #0F3430
analogous
#340F25 #340F13 #341D0F
triadic
#340F13 #13340F #0F1334
tetradic
#340F13 #25340F #0F3430 #1D0F34
square
#340F13 #25340F #0F3430 #1D0F34
split-complementary
#340F13 #0F341D #0F2534
monochromatic
#180709 #180709 #340F13 #631D24 #932A36

Accessibility & contrast

On white

17.16
#340F13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340F13
17.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340F13#FFFFFF#000000##FFFFFF
##340F131.0017.161.2217.16
#FFFFFF17.161.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181713
Deuteranopia (green-blind)
#211E12
Tritanopia (blue-blind)
#390911
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #340f13;
/* rgb */ color: rgb(52, 15, 19);
/* oklch */ color: oklch(23.1% 0.060 16.6);
Tailwind
colors: {
  custom: {
    50: '#6e4f50',
    500: '#340f13',
    950: '#000000',
  },
}
SCSS
$custom: #340f13;
$custom-light: #6e4f50;
$custom-dark: #000000;
JSON
{
  "hex": "#340f13",
  "rgb": {
    "r": 52,
    "g": 15,
    "b": 19
  },
  "hsl": {
    "h": 353.514,
    "s": 55.224,
    "l": 13.137
  },
  "oklch": {
    "l": 0.23105,
    "c": 0.05968,
    "h": 16.6
  },
  "luminance": 0.01119
}

Semantic roles & 50–950 ramp

primary
#340F13
secondary
#316E67
accent
#DFCE49
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070202
muted
#7A7878

Preview Lab

Preview with #340F13

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

Preview Lab → · Contrast checker → · Palette generator →

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