#340F0A#340F0A

#340F0A is a very dark, moderate red. Relative luminance 0.011; OKLCH L 22.9% C 0.061 H 30.2°. Best body text is #FFFFFF at 17.23:1 contrast (WCAG AA passes).

Color values

HEX#340F0A
RGBrgb(52, 15, 10)
HSLhsl(7, 68%, 12%)
HSVhsv(7, 81%, 20%)
CMYKcmyk(0%, 71.2%, 80.8%, 79.6%)
CIE-LABlab(9.75, 18.26, 10.92)
CIE-LCHlch(9.75, 21.28, 30.88°)
OKLaboklab(22.89% 0.0528 0.0307)
OKLCHoklch(22.89% 0.061 30.2)
XYZxyz(1.6419, 1.0938, 0.4118)
Luminance0.0109 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340F0A #0A2F34
analogous
#340A1A #340F0A #34240A
triadic
#340F0A #0A340F #0F0A34
tetradic
#340F0A #1A340A #0A2F34 #240A34
square
#340F0A #1A340A #0A2F34 #240A34
split-complementary
#340F0A #0A3424 #0A1A34
monochromatic
#1A0705 #1A0705 #340F0A #671E14 #9B2D1E

Accessibility & contrast

On white

17.23
#340F0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340F0A
17.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340F0A#FFFFFF#000000##FFFFFF
##340F0A1.0017.231.2217.23
#FFFFFF17.231.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#191609
Deuteranopia (green-blind)
#221E09
Tritanopia (blue-blind)
#3A070E
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #340f0a;
/* rgb */ color: rgb(52, 15, 10);
/* oklch */ color: oklch(22.9% 0.061 30.2);
Tailwind
colors: {
  custom: {
    50: '#6f4f4b',
    500: '#340f0a',
    950: '#000000',
  },
}
SCSS
$custom: #340f0a;
$custom-light: #6f4f4b;
$custom-dark: #000000;
JSON
{
  "hex": "#340f0a",
  "rgb": {
    "r": 52,
    "g": 15,
    "b": 10
  },
  "hsl": {
    "h": 7.143,
    "s": 67.742,
    "l": 12.157
  },
  "oklch": {
    "l": 0.22894,
    "c": 0.06107,
    "h": 30.2
  },
  "luminance": 0.01094
}

Semantic roles & 50–950 ramp

primary
#340F0A
secondary
#286971
accent
#D6EB3D
background
#F6F4F4
surface
#ECE7E7
border
#C7C3C3
text
#080201
muted
#7B7877

Preview Lab

Preview with #340F0A

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

Preview Lab → · Contrast checker → · Palette generator →

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