#340C0B#340C0B

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

Color values

HEX#340C0B
RGBrgb(52, 12, 11)
HSLhsl(1, 65%, 12%)
HSVhsv(1, 79%, 20%)
CMYKcmyk(0%, 76.9%, 78.8%, 79.6%)
CIE-LABlab(9.14, 20.02, 9.63)
CIE-LCHlch(9.14, 22.21, 25.68°)
OKLaboklab(22.44% 0.0586 0.0276)
OKLCHoklch(22.44% 0.065 25.3)
XYZxyz(1.6082, 1.0174, 0.4282)
Luminance0.0102 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340C0B #0B3334
analogous
#340B1F #340C0B #34200B
triadic
#340C0B #0B340C #0C0B34
tetradic
#340C0B #1F340B #0B3334 #200B34
square
#340C0B #1F340B #0B3334 #200B34
split-complementary
#340C0B #0B3420 #0B1F34
monochromatic
#190605 #190605 #340C0B #671816 #992320

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##340C0B#FFFFFF#000000##FFFFFF
##340C0B1.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)
#17140B
Deuteranopia (green-blind)
#211D0A
Tritanopia (blue-blind)
#3A040C
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #340c0b;
/* rgb */ color: rgb(52, 12, 11);
/* oklch */ color: oklch(22.4% 0.065 25.3);
Tailwind
colors: {
  custom: {
    50: '#6f4d4b',
    500: '#340c0b',
    950: '#000000',
  },
}
SCSS
$custom: #340c0b;
$custom-light: #6f4d4b;
$custom-dark: #000000;
JSON
{
  "hex": "#340c0b",
  "rgb": {
    "r": 52,
    "g": 12,
    "b": 11
  },
  "hsl": {
    "h": 1.463,
    "s": 65.079,
    "l": 12.353
  },
  "oklch": {
    "l": 0.22438,
    "c": 0.06475,
    "h": 25.3
  },
  "luminance": 0.01017
}

Semantic roles & 50–950 ramp

primary
#340C0B
secondary
#2A6F71
accent
#E4E840
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#080101
muted
#7B7777

Preview Lab

Preview with #340C0B

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

Preview Lab → · Contrast checker → · Palette generator →

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