#340B0B#340B0B

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

Color values

HEX#340B0B
RGBrgb(52, 11, 11)
HSLhsl(0, 65%, 12%)
HSVhsv(0, 79%, 20%)
CMYKcmyk(0%, 78.8%, 78.8%, 79.6%)
CIE-LABlab(8.94, 20.55, 9.34)
CIE-LCHlch(8.94, 22.57, 24.45°)
OKLaboklab(22.29% 0.0602 0.0271)
OKLCHoklch(22.29% 0.066 24.2)
XYZxyz(1.5964, 0.9938, 0.4243)
Luminance0.0099 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340B0B #0B3434
analogous
#340B20 #340B0B #34200B
triadic
#340B0B #0B340B #0B0B34
tetradic
#340B0B #20340B #0B3434 #200B34
square
#340B0B #20340B #0B3434 #200B34
split-complementary
#340B0B #0B3420 #0B2034
monochromatic
#190505 #190505 #340B0B #671616 #992020

Accessibility & contrast

On white

17.52
#340B0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340B0B
17.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340B0B#FFFFFF#000000##FFFFFF
##340B0B1.0017.521.2017.52
#FFFFFF17.521.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #340b0b;
/* rgb */ color: rgb(52, 11, 11);
/* oklch */ color: oklch(22.3% 0.066 24.2);
Tailwind
colors: {
  custom: {
    50: '#6f4d4b',
    500: '#340b0b',
    950: '#000000',
  },
}
SCSS
$custom: #340b0b;
$custom-light: #6f4d4b;
$custom-dark: #000000;
JSON
{
  "hex": "#340b0b",
  "rgb": {
    "r": 52,
    "g": 11,
    "b": 11
  },
  "hsl": {
    "h": 0,
    "s": 65.079,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22291,
    "c": 0.06604,
    "h": 24.2
  },
  "luminance": 0.00994
}

Semantic roles & 50–950 ramp

primary
#340B0B
secondary
#2A7171
accent
#E8E840
background
#F7F4F4
surface
#EDE7E7
border
#C8C3C3
text
#080101
muted
#7B7777

Preview Lab

Preview with #340B0B

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

Preview Lab → · Contrast checker → · Palette generator →

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