#340B0E#340B0E

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

Color values

HEX#340B0E
RGBrgb(52, 11, 14)
HSLhsl(356, 65%, 12%)
HSVhsv(356, 79%, 20%)
CMYKcmyk(0%, 78.8%, 73.1%, 79.6%)
CIE-LABlab(9.00, 20.78, 8.03)
CIE-LCHlch(9.00, 22.28, 21.13°)
OKLaboklab(22.36% 0.0617 0.0226)
OKLCHoklch(22.36% 0.066 20.1)
XYZxyz(1.6153, 1.0013, 0.5236)
Luminance0.0100 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340B0E #0B3431
analogous
#340B22 #340B0E #341D0B
triadic
#340B0E #0E340B #0B0E34
tetradic
#340B0E #22340B #0B3431 #1D0B34
square
#340B0E #22340B #0B3431 #1D0B34
split-complementary
#340B0E #0B341D #0B2234
monochromatic
#190507 #190507 #340B0E #67161C #992029

Accessibility & contrast

On white

17.50
#340B0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340B0E
17.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340B0E#FFFFFF#000000##FFFFFF
##340B0E1.0017.501.2017.50
#FFFFFF17.501.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16140E
Deuteranopia (green-blind)
#201D0D
Tritanopia (blue-blind)
#3A040C
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #340b0e;
/* rgb */ color: rgb(52, 11, 14);
/* oklch */ color: oklch(22.4% 0.066 20.1);
Tailwind
colors: {
  custom: {
    50: '#6f4d4d',
    500: '#340b0e',
    950: '#000000',
  },
}
SCSS
$custom: #340b0e;
$custom-light: #6f4d4d;
$custom-dark: #000000;
JSON
{
  "hex": "#340b0e",
  "rgb": {
    "r": 52,
    "g": 11,
    "b": 14
  },
  "hsl": {
    "h": 355.61,
    "s": 65.079,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22359,
    "c": 0.06569,
    "h": 20.1
  },
  "luminance": 0.01001
}

Semantic roles & 50–950 ramp

primary
#340B0E
secondary
#2A716C
accent
#E8DC40
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#080101
muted
#7B7777

Preview Lab

Preview with #340B0E

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

Preview Lab → · Contrast checker → · Palette generator →

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