#340F0E#340F0E

#340F0E is a very dark, moderate red. Relative luminance 0.011; OKLCH L 23.0% C 0.060 H 24.5°. Best body text is #FFFFFF at 17.20:1 contrast (WCAG AA passes).

Color values

HEX#340F0E
RGBrgb(52, 15, 14)
HSLhsl(2, 58%, 13%)
HSVhsv(2, 73%, 20%)
CMYKcmyk(0%, 71.2%, 73.1%, 79.6%)
CIE-LABlab(9.83, 18.57, 9.21)
CIE-LCHlch(9.83, 20.73, 26.37°)
OKLaboklab(22.98% 0.0547 0.025)
OKLCHoklch(22.98% 0.06 24.5)
XYZxyz(1.6664, 1.1036, 0.5407)
Luminance0.0110 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340F0E #0E3334
analogous
#340E20 #340F0E #34220E
triadic
#340F0E #0E340F #0F0E34
tetradic
#340F0E #20340E #0E3334 #220E34
square
#340F0E #20340E #0E3334 #220E34
split-complementary
#340F0E #0E3422 #0E2034
monochromatic
#180706 #180706 #340F0E #641D1B #942B28

Accessibility & contrast

On white

17.20
#340F0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#340F0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340F0E
17.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340F0E#FFFFFF#000000##FFFFFF
##340F0E1.0017.201.2217.20
#FFFFFF17.201.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18160E
Deuteranopia (green-blind)
#221E0D
Tritanopia (blue-blind)
#3A080F
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #340f0e;
/* rgb */ color: rgb(52, 15, 14);
/* oklch */ color: oklch(23.0% 0.060 24.5);
Tailwind
colors: {
  custom: {
    50: '#6f4f4d',
    500: '#340f0e',
    950: '#000000',
  },
}
SCSS
$custom: #340f0e;
$custom-light: #6f4f4d;
$custom-dark: #000000;
JSON
{
  "hex": "#340f0e",
  "rgb": {
    "r": 52,
    "g": 15,
    "b": 14
  },
  "hsl": {
    "h": 1.579,
    "s": 57.576,
    "l": 12.941
  },
  "oklch": {
    "l": 0.22977,
    "c": 0.06015,
    "h": 24.5
  },
  "luminance": 0.01103
}

Semantic roles & 50–950 ramp

primary
#340F0E
secondary
#2F6D6F
accent
#DDE147
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#080201
muted
#7B7877

Preview Lab

Preview with #340F0E

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

Preview Lab → · Contrast checker → · Palette generator →

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