#340A14#340A14

#340A14 is a very dark, moderate red. Relative luminance 0.010; OKLCH L 22.4% C 0.067 H 10.3°. Best body text is #FFFFFF at 17.51:1 contrast (WCAG AA passes).

Color values

HEX#340A14
RGBrgb(52, 10, 20)
HSLhsl(346, 68%, 12%)
HSVhsv(346, 81%, 20%)
CMYKcmyk(0%, 80.8%, 61.5%, 79.6%)
CIE-LABlab(8.97, 21.85, 4.50)
CIE-LCHlch(8.97, 22.31, 11.63°)
OKLaboklab(22.39% 0.0663 0.012)
OKLCHoklch(22.39% 0.067 10.3)
XYZxyz(1.6511, 0.9979, 0.7673)
Luminance0.0100 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340A14 #0A342A
analogous
#340A29 #340A14 #34150A
triadic
#340A14 #14340A #0A1434
tetradic
#340A14 #29340A #0A342A #150A34
square
#340A14 #29340A #0A342A #150A34
split-complementary
#340A14 #0A3415 #0A2934
monochromatic
#1A050A #1A050A #340A14 #671428 #9B1E3B

Accessibility & contrast

On white

17.51
#340A14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#340A14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340A14
17.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340A14#FFFFFF#000000##FFFFFF
##340A141.0017.511.2017.51
#FFFFFF17.511.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141414
Deuteranopia (green-blind)
#1F1D13
Tritanopia (blue-blind)
#3A040E
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #340a14;
/* rgb */ color: rgb(52, 10, 20);
/* oklch */ color: oklch(22.4% 0.067 10.3);
Tailwind
colors: {
  custom: {
    50: '#6f4c51',
    500: '#340a14',
    950: '#000000',
  },
}
SCSS
$custom: #340a14;
$custom-light: #6f4c51;
$custom-dark: #000000;
JSON
{
  "hex": "#340a14",
  "rgb": {
    "r": 52,
    "g": 10,
    "b": 20
  },
  "hsl": {
    "h": 345.714,
    "s": 67.742,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22388,
    "c": 0.06734,
    "h": 10.3
  },
  "luminance": 0.00998
}

Semantic roles & 50–950 ramp

primary
#340A14
secondary
#287160
accent
#EBC13D
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#080102
muted
#7B7778

Preview Lab

Preview with #340A14

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

Preview Lab → · Contrast checker → · Palette generator →

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