#340709#340709

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

Color values

HEX#340709
RGBrgb(52, 7, 9)
HSLhsl(357, 76%, 12%)
HSVhsv(357, 87%, 20%)
CMYKcmyk(0%, 86.5%, 82.7%, 79.6%)
CIE-LABlab(8.15, 22.48, 9.02)
CIE-LCHlch(8.15, 24.23, 21.86°)
OKLaboklab(21.69% 0.0658 0.0279)
OKLCHoklch(21.69% 0.072 23)
XYZxyz(1.5416, 0.9020, 0.3513)
Luminance0.0090 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340709 #073432
analogous
#340720 #340709 #341C07
triadic
#340709 #093407 #070934
tetradic
#340709 #203407 #073432 #1C0734
square
#340709 #203407 #073432 #1C0734
split-complementary
#340709 #07341C #072034
monochromatic
#1B0405 #1B0405 #340709 #6A0E12 #A0161C

Accessibility & contrast

On white

17.79
#340709 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340709
17.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340709#FFFFFF#000000##FFFFFF
##3407091.0017.791.1817.79
#FFFFFF17.791.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#141209
Deuteranopia (green-blind)
#1F1B08
Tritanopia (blue-blind)
#3A0008
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #340709;
/* rgb */ color: rgb(52, 7, 9);
/* oklch */ color: oklch(21.7% 0.072 23.0);
Tailwind
colors: {
  custom: {
    50: '#6f4a4b',
    500: '#340709',
    950: '#000000',
  },
}
SCSS
$custom: #340709;
$custom-light: #6f4a4b;
$custom-dark: #000000;
JSON
{
  "hex": "#340709",
  "rgb": {
    "r": 52,
    "g": 7,
    "b": 9
  },
  "hsl": {
    "h": 357.333,
    "s": 76.271,
    "l": 11.569
  },
  "oklch": {
    "l": 0.21687,
    "c": 0.07152,
    "h": 23
  },
  "luminance": 0.00902
}

Semantic roles & 50–950 ramp

primary
#340709
secondary
#237470
accent
#F3EA35
background
#F7F4F4
surface
#EDE7E7
border
#C8C3C3
text
#080101
muted
#7B7777

Preview Lab

Preview with #340709

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

Preview Lab → · Contrast checker → · Palette generator →

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