#340805#340805

#340805 is a very dark, moderate red. Relative luminance 0.009; OKLCH L 21.7% C 0.071 H 29.2°. Best body text is #FFFFFF at 17.75:1 contrast (WCAG AA passes).

Color values

HEX#340805
RGBrgb(52, 8, 5)
HSLhsl(4, 82%, 11%)
HSVhsv(4, 90%, 20%)
CMYKcmyk(0%, 84.6%, 90.4%, 79.6%)
CIE-LABlab(8.26, 21.69, 10.82)
CIE-LCHlch(8.26, 24.24, 26.51°)
OKLaboklab(21.75% 0.062 0.0347)
OKLCHoklch(21.75% 0.071 29.2)
XYZxyz(1.5306, 0.9149, 0.2396)
Luminance0.0092 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340805 #053134
analogous
#340519 #340805 #341F05
triadic
#340805 #053408 #080534
tetradic
#340805 #193405 #053134 #1F0534
square
#340805 #193405 #053134 #1F0534
split-complementary
#340805 #05341F #051934
monochromatic
#1C0403 #1C0403 #340805 #6C110A #A41910

Accessibility & contrast

On white

17.75
#340805 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#340805 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340805
17.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340805#FFFFFF#000000##FFFFFF
##3408051.0017.751.1817.75
#FFFFFF17.751.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151204
Deuteranopia (green-blind)
#201C04
Tritanopia (blue-blind)
#3A0008
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #340805;
/* rgb */ color: rgb(52, 8, 5);
/* oklch */ color: oklch(21.7% 0.071 29.2);
Tailwind
colors: {
  custom: {
    50: '#6f4b49',
    500: '#340805',
    950: '#000000',
  },
}
SCSS
$custom: #340805;
$custom-light: #6f4b49;
$custom-dark: #000000;
JSON
{
  "hex": "#340805",
  "rgb": {
    "r": 52,
    "g": 8,
    "b": 5
  },
  "hsl": {
    "h": 3.83,
    "s": 82.456,
    "l": 11.176
  },
  "oklch": {
    "l": 0.21748,
    "c": 0.07102,
    "h": 29.2
  },
  "luminance": 0.00915
}

Semantic roles & 50–950 ramp

primary
#340805
secondary
#1F7075
accent
#ECF92F
background
#F7F4F4
surface
#EDE7E6
border
#C8C3C2
text
#080100
muted
#7B7777

Preview Lab

Preview with #340805

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

Preview Lab → · Contrast checker → · Palette generator →

#340805 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva