#340B13#340B13

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

Color values

HEX#340B13
RGBrgb(52, 11, 19)
HSLhsl(348, 65%, 12%)
HSVhsv(348, 79%, 20%)
CMYKcmyk(0%, 78.8%, 63.5%, 79.6%)
CIE-LABlab(9.13, 21.24, 5.37)
CIE-LCHlch(9.13, 21.91, 14.18°)
OKLaboklab(22.49% 0.0642 0.0144)
OKLCHoklch(22.49% 0.066 12.6)
XYZxyz(1.6535, 1.0166, 0.7251)
Luminance0.0102 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340B13 #0B342C
analogous
#340B27 #340B13 #34180B
triadic
#340B13 #13340B #0B1334
tetradic
#340B13 #27340B #0B342C #180B34
square
#340B13 #27340B #0B342C #180B34
split-complementary
#340B13 #0B3418 #0B2734
monochromatic
#190509 #190509 #340B13 #671625 #992038

Accessibility & contrast

On white

17.45
#340B13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340B13
17.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340B13#FFFFFF#000000##FFFFFF
##340B131.0017.451.2017.45
#FFFFFF17.451.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151413
Deuteranopia (green-blind)
#1F1D12
Tritanopia (blue-blind)
#3A050E
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #340b13;
/* rgb */ color: rgb(52, 11, 19);
/* oklch */ color: oklch(22.5% 0.066 12.6);
Tailwind
colors: {
  custom: {
    50: '#6f4d50',
    500: '#340b13',
    950: '#000000',
  },
}
SCSS
$custom: #340b13;
$custom-light: #6f4d50;
$custom-dark: #000000;
JSON
{
  "hex": "#340b13",
  "rgb": {
    "r": 52,
    "g": 11,
    "b": 19
  },
  "hsl": {
    "h": 348.293,
    "s": 65.079,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22494,
    "c": 0.06575,
    "h": 12.6
  },
  "luminance": 0.01016
}

Semantic roles & 50–950 ramp

primary
#340B13
secondary
#2A7163
accent
#E8C740
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#080102
muted
#7B7778

Preview Lab

Preview with #340B13

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

Preview Lab → · Contrast checker → · Palette generator →

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