#340B14#340B14

#340B14 is a very dark, moderate red. Relative luminance 0.010; OKLCH L 22.5% C 0.066 H 11.1°. Best body text is #FFFFFF at 17.44:1 contrast (WCAG AA passes).

Color values

HEX#340B14
RGBrgb(52, 11, 20)
HSLhsl(347, 65%, 12%)
HSVhsv(347, 79%, 20%)
CMYKcmyk(0%, 78.8%, 61.5%, 79.6%)
CIE-LABlab(9.16, 21.35, 4.76)
CIE-LCHlch(9.16, 21.87, 12.57°)
OKLaboklab(22.53% 0.0647 0.0127)
OKLCHoklch(22.53% 0.066 11.1)
XYZxyz(1.6623, 1.0201, 0.7711)
Luminance0.0102 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340B14 #0B342B
analogous
#340B29 #340B14 #34160B
triadic
#340B14 #14340B #0B1434
tetradic
#340B14 #29340B #0B342B #160B34
square
#340B14 #29340B #0B342B #160B34
split-complementary
#340B14 #0B3416 #0B2934
monochromatic
#19050A #19050A #340B14 #671627 #99203B

Accessibility & contrast

On white

17.44
#340B14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340B14
17.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340B14#FFFFFF#000000##FFFFFF
##340B141.0017.441.2017.44
#FFFFFF17.441.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151514
Deuteranopia (green-blind)
#1F1D13
Tritanopia (blue-blind)
#39050F
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #340b14;
/* rgb */ color: rgb(52, 11, 20);
/* oklch */ color: oklch(22.5% 0.066 11.1);
Tailwind
colors: {
  custom: {
    50: '#6f4d51',
    500: '#340b14',
    950: '#000000',
  },
}
SCSS
$custom: #340b14;
$custom-light: #6f4d51;
$custom-dark: #000000;
JSON
{
  "hex": "#340b14",
  "rgb": {
    "r": 52,
    "g": 11,
    "b": 20
  },
  "hsl": {
    "h": 346.829,
    "s": 65.079,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22525,
    "c": 0.06588,
    "h": 11.1
  },
  "luminance": 0.0102
}

Semantic roles & 50–950 ramp

primary
#340B14
secondary
#2A7161
accent
#E8C340
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#080102
muted
#7B7778

Preview Lab

Preview with #340B14

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

Preview Lab → · Contrast checker → · Palette generator →

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