#340D01#340D01

#340D01 is a very dark, moderate red. Relative luminance 0.010; OKLCH L 22.4% C 0.067 H 40.2°. Best body text is #FFFFFF at 17.44:1 contrast (WCAG AA passes).

Color values

HEX#340D01
RGBrgb(52, 13, 1)
HSLhsl(14, 96%, 10%)
HSVhsv(14, 98%, 20%)
CMYKcmyk(0%, 75%, 98.1%, 79.6%)
CIE-LABlab(9.16, 18.78, 13.74)
CIE-LCHlch(9.16, 23.27, 36.20°)
OKLaboklab(22.4% 0.0514 0.0434)
OKLCHoklch(22.4% 0.067 40.2)
XYZxyz(1.5658, 1.0203, 0.1432)
Luminance0.0102 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340D01 #012834
analogous
#34010E #340D01 #342601
triadic
#340D01 #01340D #0D0134
tetradic
#340D01 #0E3401 #012834 #260134
square
#340D01 #0E3401 #012834 #260134
split-complementary
#340D01 #013426 #010E34
monochromatic
#1E0801 #1E0801 #340D01 #701C02 #AC2B03

Accessibility & contrast

On white

17.44
#340D01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#340D01 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340D01
17.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340D01#FFFFFF#000000##FFFFFF
##340D011.0017.441.2017.44
#FFFFFF17.441.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181400
Deuteranopia (green-blind)
#221D00
Tritanopia (blue-blind)
#3A040A
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #340d01;
/* rgb */ color: rgb(52, 13, 1);
/* oklch */ color: oklch(22.4% 0.067 40.2);
Tailwind
colors: {
  custom: {
    50: '#6f4e47',
    500: '#340d01',
    950: '#000000',
  },
}
SCSS
$custom: #340d01;
$custom-light: #6f4e47;
$custom-dark: #000000;
JSON
{
  "hex": "#340d01",
  "rgb": {
    "r": 52,
    "g": 13,
    "b": 1
  },
  "hsl": {
    "h": 14.118,
    "s": 96.226,
    "l": 10.392
  },
  "oklch": {
    "l": 0.22399,
    "c": 0.06724,
    "h": 40.2
  },
  "luminance": 0.0102
}

Semantic roles & 50–950 ramp

primary
#340D01
secondary
#186279
accent
#CDFF29
background
#F7F4F3
surface
#EDE7E5
border
#C8C3C1
text
#080100
muted
#7B7777

Preview Lab

Preview with #340D01

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

Preview Lab → · Contrast checker → · Palette generator →

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