#340B0F#340B0F

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

Color values

HEX#340B0F
RGBrgb(52, 11, 15)
HSLhsl(354, 65%, 12%)
HSVhsv(354, 79%, 20%)
CMYKcmyk(0%, 78.8%, 71.2%, 79.6%)
CIE-LABlab(9.03, 20.86, 7.55)
CIE-LCHlch(9.03, 22.19, 19.89°)
OKLaboklab(22.38% 0.0622 0.021)
OKLCHoklch(22.38% 0.066 18.7)
XYZxyz(1.6222, 1.0041, 0.5602)
Luminance0.0100 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340B0F #0B3430
analogous
#340B24 #340B0F #341B0B
triadic
#340B0F #0F340B #0B0F34
tetradic
#340B0F #24340B #0B3430 #1B0B34
square
#340B0F #24340B #0B3430 #1B0B34
split-complementary
#340B0F #0B341B #0B2434
monochromatic
#190507 #190507 #340B0F #67161E #99202C

Accessibility & contrast

On white

17.49
#340B0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340B0F
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340B0F#FFFFFF#000000##FFFFFF
##340B0F1.0017.491.2017.49
#FFFFFF17.491.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16140F
Deuteranopia (green-blind)
#201D0E
Tritanopia (blue-blind)
#3A040D
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #340b0f;
/* rgb */ color: rgb(52, 11, 15);
/* oklch */ color: oklch(22.4% 0.066 18.7);
Tailwind
colors: {
  custom: {
    50: '#6f4d4e',
    500: '#340b0f',
    950: '#000000',
  },
}
SCSS
$custom: #340b0f;
$custom-light: #6f4d4e;
$custom-dark: #000000;
JSON
{
  "hex": "#340b0f",
  "rgb": {
    "r": 52,
    "g": 11,
    "b": 15
  },
  "hsl": {
    "h": 354.146,
    "s": 65.079,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22383,
    "c": 0.06563,
    "h": 18.7
  },
  "luminance": 0.01004
}

Semantic roles & 50–950 ramp

primary
#340B0F
secondary
#2A716A
accent
#E8D840
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#080101
muted
#7B7777

Preview Lab

Preview with #340B0F

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

Preview Lab → · Contrast checker → · Palette generator →

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