#340A11#340A11

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

Color values

HEX#340A11
RGBrgb(52, 10, 17)
HSLhsl(350, 68%, 12%)
HSVhsv(350, 81%, 20%)
CMYKcmyk(0%, 80.8%, 67.3%, 79.6%)
CIE-LABlab(8.89, 21.55, 6.24)
CIE-LCHlch(8.89, 22.44, 16.15°)
OKLaboklab(22.3% 0.0648 0.0172)
OKLCHoklch(22.3% 0.067 14.8)
XYZxyz(1.6260, 0.9878, 0.6353)
Luminance0.0099 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340A11 #0A342D
analogous
#340A26 #340A11 #34180A
triadic
#340A11 #11340A #0A1134
tetradic
#340A11 #26340A #0A342D #180A34
square
#340A11 #26340A #0A342D #180A34
split-complementary
#340A11 #0A3418 #0A2634
monochromatic
#1A0508 #1A0508 #340A11 #671422 #9B1E33

Accessibility & contrast

On white

17.54
#340A11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340A11
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340A11#FFFFFF#000000##FFFFFF
##340A111.0017.541.2017.54
#FFFFFF17.541.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151411
Deuteranopia (green-blind)
#1F1C10
Tritanopia (blue-blind)
#3A030D
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #340a11;
/* rgb */ color: rgb(52, 10, 17);
/* oklch */ color: oklch(22.3% 0.067 14.8);
Tailwind
colors: {
  custom: {
    50: '#6f4c4f',
    500: '#340a11',
    950: '#000000',
  },
}
SCSS
$custom: #340a11;
$custom-light: #6f4c4f;
$custom-dark: #000000;
JSON
{
  "hex": "#340a11",
  "rgb": {
    "r": 52,
    "g": 10,
    "b": 17
  },
  "hsl": {
    "h": 350,
    "s": 67.742,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22298,
    "c": 0.06702,
    "h": 14.8
  },
  "luminance": 0.00988
}

Semantic roles & 50–950 ramp

primary
#340A11
secondary
#287165
accent
#EBCE3D
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#080101
muted
#7B7777

Preview Lab

Preview with #340A11

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

Preview Lab → · Contrast checker → · Palette generator →

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