#340C16#340C16

#340C16 is a very dark, moderate red. Relative luminance 0.011; OKLCH L 22.7% C 0.065 H 8.7°. Best body text is #FFFFFF at 17.35:1 contrast (WCAG AA passes).

Color values

HEX#340C16
RGBrgb(52, 12, 22)
HSLhsl(345, 63%, 13%)
HSVhsv(345, 77%, 20%)
CMYKcmyk(0%, 76.9%, 57.7%, 79.6%)
CIE-LABlab(9.41, 21.04, 3.74)
CIE-LCHlch(9.41, 21.37, 10.08°)
OKLaboklab(22.73% 0.064 0.0098)
OKLCHoklch(22.73% 0.065 8.7)
XYZxyz(1.6926, 1.0511, 0.8727)
Luminance0.0105 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340C16 #0C342A
analogous
#340C2A #340C16 #34160C
triadic
#340C16 #16340C #0C1634
tetradic
#340C16 #2A340C #0C342A #160C34
square
#340C16 #2A340C #0C342A #160C34
split-complementary
#340C16 #0C3416 #0C2A34
monochromatic
#19060B #19060B #340C16 #66172B #972340

Accessibility & contrast

On white

17.35
#340C16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340C16
17.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340C16#FFFFFF#000000##FFFFFF
##340C161.0017.351.2117.35
#FFFFFF17.351.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151516
Deuteranopia (green-blind)
#1F1D15
Tritanopia (blue-blind)
#390610
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #340c16;
/* rgb */ color: rgb(52, 12, 22);
/* oklch */ color: oklch(22.7% 0.065 8.7);
Tailwind
colors: {
  custom: {
    50: '#6e4d52',
    500: '#340c16',
    950: '#000000',
  },
}
SCSS
$custom: #340c16;
$custom-light: #6e4d52;
$custom-dark: #000000;
JSON
{
  "hex": "#340c16",
  "rgb": {
    "r": 52,
    "g": 12,
    "b": 22
  },
  "hsl": {
    "h": 345,
    "s": 62.5,
    "l": 12.549
  },
  "oklch": {
    "l": 0.22733,
    "c": 0.0647,
    "h": 8.7
  },
  "luminance": 0.01051
}

Semantic roles & 50–950 ramp

primary
#340C16
secondary
#2C705F
accent
#E6BD42
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#070102
muted
#7A7778

Preview Lab

Preview with #340C16

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

Preview Lab → · Contrast checker → · Palette generator →

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