#340809#340809

#340809 is a very dark, moderate red. Relative luminance 0.009; OKLCH L 21.8% C 0.070 H 23.9°. Best body text is #FFFFFF at 17.73:1 contrast (WCAG AA passes).

Color values

HEX#340809
RGBrgb(52, 8, 9)
HSLhsl(359, 73%, 12%)
HSVhsv(359, 85%, 20%)
CMYKcmyk(0%, 84.6%, 82.7%, 79.6%)
CIE-LABlab(8.34, 21.95, 9.30)
CIE-LCHlch(8.34, 23.84, 22.96°)
OKLaboklab(21.83% 0.0642 0.0284)
OKLCHoklch(21.83% 0.07 23.9)
XYZxyz(1.5525, 0.9237, 0.3549)
Luminance0.0092 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340809 #083433
analogous
#34081F #340809 #341D08
triadic
#340809 #093408 #080934
tetradic
#340809 #1F3408 #083433 #1D0834
square
#340809 #1F3408 #083433 #1D0834
split-complementary
#340809 #08341D #081F34
monochromatic
#1B0405 #1B0405 #340809 #691012 #9E181B

Accessibility & contrast

On white

17.73
#340809 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340809
17.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340809#FFFFFF#000000##FFFFFF
##3408091.0017.731.1817.73
#FFFFFF17.731.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141209
Deuteranopia (green-blind)
#201C08
Tritanopia (blue-blind)
#3A0009
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #340809;
/* rgb */ color: rgb(52, 8, 9);
/* oklch */ color: oklch(21.8% 0.070 23.9);
Tailwind
colors: {
  custom: {
    50: '#6f4b4b',
    500: '#340809',
    950: '#000000',
  },
}
SCSS
$custom: #340809;
$custom-light: #6f4b4b;
$custom-dark: #000000;
JSON
{
  "hex": "#340809",
  "rgb": {
    "r": 52,
    "g": 8,
    "b": 9
  },
  "hsl": {
    "h": 358.636,
    "s": 73.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.2183,
    "c": 0.07017,
    "h": 23.9
  },
  "luminance": 0.00923
}

Semantic roles & 50–950 ramp

primary
#340809
secondary
#257371
accent
#F0EC38
background
#F7F4F4
surface
#EDE7E7
border
#C8C3C3
text
#080101
muted
#7B7777

Preview Lab

Preview with #340809

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

Preview Lab → · Contrast checker → · Palette generator →

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