#340B0A#340B0A

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

Color values

HEX#340B0A
RGBrgb(52, 11, 10)
HSLhsl(1, 68%, 12%)
HSVhsv(1, 81%, 20%)
CMYKcmyk(0%, 78.8%, 80.8%, 79.6%)
CIE-LABlab(8.92, 20.48, 9.73)
CIE-LCHlch(8.92, 22.68, 25.42°)
OKLaboklab(22.27% 0.0598 0.0285)
OKLCHoklch(22.27% 0.066 25.5)
XYZxyz(1.5908, 0.9915, 0.3947)
Luminance0.0099 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340B0A #0A3334
analogous
#340A1E #340B0A #34200A
triadic
#340B0A #0A340B #0B0A34
tetradic
#340B0A #1E340A #0A3334 #200A34
square
#340B0A #1E340A #0A3334 #200A34
split-complementary
#340B0A #0A3420 #0A1E34
monochromatic
#1A0505 #1A0505 #340B0A #671614 #9B211E

Accessibility & contrast

On white

17.53
#340B0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340B0A
17.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340B0A#FFFFFF#000000##FFFFFF
##340B0A1.0017.531.2017.53
#FFFFFF17.531.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16140A
Deuteranopia (green-blind)
#201D09
Tritanopia (blue-blind)
#3A030B
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #340b0a;
/* rgb */ color: rgb(52, 11, 10);
/* oklch */ color: oklch(22.3% 0.066 25.5);
Tailwind
colors: {
  custom: {
    50: '#6f4d4b',
    500: '#340b0a',
    950: '#000000',
  },
}
SCSS
$custom: #340b0a;
$custom-light: #6f4d4b;
$custom-dark: #000000;
JSON
{
  "hex": "#340b0a",
  "rgb": {
    "r": 52,
    "g": 11,
    "b": 10
  },
  "hsl": {
    "h": 1.429,
    "s": 67.742,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22271,
    "c": 0.0662,
    "h": 25.5
  },
  "luminance": 0.00991
}

Semantic roles & 50–950 ramp

primary
#340B0A
secondary
#287071
accent
#E6EB3D
background
#F7F4F4
surface
#EDE7E7
border
#C8C3C3
text
#080101
muted
#7B7777

Preview Lab

Preview with #340B0A

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

Preview Lab → · Contrast checker → · Palette generator →

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