#340A07#340A07

#340A07 is a very dark, moderate red. Relative luminance 0.010; OKLCH L 22.1% C 0.068 H 28.4°. Best body text is #FFFFFF at 17.61:1 contrast (WCAG AA passes).

Color values

HEX#340A07
RGBrgb(52, 10, 7)
HSLhsl(4, 76%, 12%)
HSVhsv(4, 87%, 20%)
CMYKcmyk(0%, 80.8%, 86.5%, 79.6%)
CIE-LABlab(8.68, 20.79, 10.60)
CIE-LCHlch(8.68, 23.34, 27.03°)
OKLaboklab(22.07% 0.0599 0.0324)
OKLCHoklch(22.07% 0.068 28.4)
XYZxyz(1.5632, 0.9627, 0.3045)
Luminance0.0096 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340A07 #073134
analogous
#34071B #340A07 #342107
triadic
#340A07 #07340A #0A0734
tetradic
#340A07 #1B3407 #073134 #210734
square
#340A07 #1B3407 #073134 #210734
split-complementary
#340A07 #073421 #071B34
monochromatic
#1B0504 #1B0504 #340A07 #6A140E #A01F16

Accessibility & contrast

On white

17.61
#340A07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#340A07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340A07
17.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340A07#FFFFFF#000000##FFFFFF
##340A071.0017.611.1917.61
#FFFFFF17.611.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161306
Deuteranopia (green-blind)
#201C06
Tritanopia (blue-blind)
#3A010A
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #340a07;
/* rgb */ color: rgb(52, 10, 7);
/* oklch */ color: oklch(22.1% 0.068 28.4);
Tailwind
colors: {
  custom: {
    50: '#6f4c4a',
    500: '#340a07',
    950: '#000000',
  },
}
SCSS
$custom: #340a07;
$custom-light: #6f4c4a;
$custom-dark: #000000;
JSON
{
  "hex": "#340a07",
  "rgb": {
    "r": 52,
    "g": 10,
    "b": 7
  },
  "hsl": {
    "h": 4,
    "s": 76.271,
    "l": 11.569
  },
  "oklch": {
    "l": 0.2207,
    "c": 0.06807,
    "h": 28.4
  },
  "luminance": 0.00962
}

Semantic roles & 50–950 ramp

primary
#340A07
secondary
#236E74
accent
#E6F335
background
#F7F4F4
surface
#EDE7E7
border
#C8C3C3
text
#080101
muted
#7B7777

Preview Lab

Preview with #340A07

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

Preview Lab → · Contrast checker → · Palette generator →

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