#340C14#340C14

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

Color values

HEX#340C14
RGBrgb(52, 12, 20)
HSLhsl(348, 63%, 13%)
HSVhsv(348, 77%, 20%)
CMYKcmyk(0%, 76.9%, 61.5%, 79.6%)
CIE-LABlab(9.35, 20.82, 5.04)
CIE-LCHlch(9.35, 21.42, 13.60°)
OKLaboklab(22.67% 0.063 0.0133)
OKLCHoklch(22.67% 0.064 11.9)
XYZxyz(1.6741, 1.0437, 0.7750)
Luminance0.0104 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340C14 #0C342C
analogous
#340C28 #340C14 #34180C
triadic
#340C14 #14340C #0C1434
tetradic
#340C14 #28340C #0C342C #180C34
square
#340C14 #28340C #0C342C #180C34
split-complementary
#340C14 #0C3418 #0C2834
monochromatic
#19060A #19060A #340C14 #661727 #97233A

Accessibility & contrast

On white

17.37
#340C14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340C14
17.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340C14#FFFFFF#000000##FFFFFF
##340C141.0017.371.2117.37
#FFFFFF17.371.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151514
Deuteranopia (green-blind)
#201D13
Tritanopia (blue-blind)
#39060F
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #340c14;
/* rgb */ color: rgb(52, 12, 20);
/* oklch */ color: oklch(22.7% 0.064 11.9);
Tailwind
colors: {
  custom: {
    50: '#6f4d51',
    500: '#340c14',
    950: '#000000',
  },
}
SCSS
$custom: #340c14;
$custom-light: #6f4d51;
$custom-dark: #000000;
JSON
{
  "hex": "#340c14",
  "rgb": {
    "r": 52,
    "g": 12,
    "b": 20
  },
  "hsl": {
    "h": 348,
    "s": 62.5,
    "l": 12.549
  },
  "oklch": {
    "l": 0.22669,
    "c": 0.06437,
    "h": 11.9
  },
  "luminance": 0.01044
}

Semantic roles & 50–950 ramp

primary
#340C14
secondary
#2C7062
accent
#E6C542
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#080102
muted
#7B7778

Preview Lab

Preview with #340C14

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

Preview Lab → · Contrast checker → · Palette generator →

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