#340C13#340C13

#340C13 is a very dark, moderate red. Relative luminance 0.010; OKLCH L 22.6% C 0.064 H 13.5°. Best body text is #FFFFFF at 17.38:1 contrast (WCAG AA passes).

Color values

HEX#340C13
RGBrgb(52, 12, 19)
HSLhsl(350, 63%, 13%)
HSVhsv(350, 77%, 20%)
CMYKcmyk(0%, 76.9%, 63.5%, 79.6%)
CIE-LABlab(9.32, 20.72, 5.64)
CIE-LCHlch(9.32, 21.47, 15.24°)
OKLaboklab(22.64% 0.0625 0.015)
OKLCHoklch(22.64% 0.064 13.5)
XYZxyz(1.6653, 1.0402, 0.7291)
Luminance0.0104 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340C13 #0C342D
analogous
#340C27 #340C13 #34190C
triadic
#340C13 #13340C #0C1334
tetradic
#340C13 #27340C #0C342D #190C34
square
#340C13 #27340C #0C342D #190C34
split-complementary
#340C13 #0C3419 #0C2734
monochromatic
#190609 #190609 #340C13 #661725 #972337

Accessibility & contrast

On white

17.38
#340C13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340C13
17.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340C13#FFFFFF#000000##FFFFFF
##340C131.0017.381.2117.38
#FFFFFF17.381.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161513
Deuteranopia (green-blind)
#201D12
Tritanopia (blue-blind)
#3A060F
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #340c13;
/* rgb */ color: rgb(52, 12, 19);
/* oklch */ color: oklch(22.6% 0.064 13.5);
Tailwind
colors: {
  custom: {
    50: '#6f4d50',
    500: '#340c13',
    950: '#000000',
  },
}
SCSS
$custom: #340c13;
$custom-light: #6f4d50;
$custom-dark: #000000;
JSON
{
  "hex": "#340c13",
  "rgb": {
    "r": 52,
    "g": 12,
    "b": 19
  },
  "hsl": {
    "h": 349.5,
    "s": 62.5,
    "l": 12.549
  },
  "oklch": {
    "l": 0.22638,
    "c": 0.06427,
    "h": 13.5
  },
  "luminance": 0.0104
}

Semantic roles & 50–950 ramp

primary
#340C13
secondary
#2C7064
accent
#E6C942
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#080102
muted
#7B7778

Preview Lab

Preview with #340C13

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

Preview Lab → · Contrast checker → · Palette generator →

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