#340C12#340C12

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

Color values

HEX#340C12
RGBrgb(52, 12, 18)
HSLhsl(351, 63%, 13%)
HSVhsv(351, 77%, 20%)
CMYKcmyk(0%, 76.9%, 65.4%, 79.6%)
CIE-LABlab(9.30, 20.62, 6.23)
CIE-LCHlch(9.30, 21.54, 16.81°)
OKLaboklab(22.61% 0.062 0.0167)
OKLCHoklch(22.61% 0.064 15.1)
XYZxyz(1.6570, 1.0369, 0.6850)
Luminance0.0104 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340C12 #0C342E
analogous
#340C26 #340C12 #341A0C
triadic
#340C12 #12340C #0C1234
tetradic
#340C12 #26340C #0C342E #1A0C34
square
#340C12 #26340C #0C342E #1A0C34
split-complementary
#340C12 #0C341A #0C2634
monochromatic
#190609 #190609 #340C12 #661723 #972334

Accessibility & contrast

On white

17.39
#340C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340C12
17.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340C12#FFFFFF#000000##FFFFFF
##340C121.0017.391.2117.39
#FFFFFF17.391.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161512
Deuteranopia (green-blind)
#201D11
Tritanopia (blue-blind)
#3A050E
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #340c12;
/* rgb */ color: rgb(52, 12, 18);
/* oklch */ color: oklch(22.6% 0.064 15.1);
Tailwind
colors: {
  custom: {
    50: '#6f4d4f',
    500: '#340c12',
    950: '#000000',
  },
}
SCSS
$custom: #340c12;
$custom-light: #6f4d4f;
$custom-dark: #000000;
JSON
{
  "hex": "#340c12",
  "rgb": {
    "r": 52,
    "g": 12,
    "b": 18
  },
  "hsl": {
    "h": 351,
    "s": 62.5,
    "l": 12.549
  },
  "oklch": {
    "l": 0.22609,
    "c": 0.06421,
    "h": 15.1
  },
  "luminance": 0.01037
}

Semantic roles & 50–950 ramp

primary
#340C12
secondary
#2C7066
accent
#E6CD42
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#080102
muted
#7B7778

Preview Lab

Preview with #340C12

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

Preview Lab → · Contrast checker → · Palette generator →

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