#340B01#340B01

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

Color values

HEX#340B01
RGBrgb(52, 11, 1)
HSLhsl(12, 96%, 10%)
HSVhsv(12, 98%, 20%)
CMYKcmyk(0%, 78.8%, 98.1%, 79.6%)
CIE-LABlab(8.75, 19.86, 13.16)
CIE-LCHlch(8.75, 23.83, 33.53°)
OKLaboklab(22.09% 0.0547 0.0427)
OKLCHoklch(22.09% 0.069 38)
XYZxyz(1.5415, 0.9718, 0.1351)
Luminance0.0097 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340B01 #012A34
analogous
#340110 #340B01 #342401
triadic
#340B01 #01340B #0B0134
tetradic
#340B01 #103401 #012A34 #240134
square
#340B01 #103401 #012A34 #240134
split-complementary
#340B01 #013424 #011034
monochromatic
#1E0601 #1E0601 #340B01 #701802 #AC2403

Accessibility & contrast

On white

17.58
#340B01 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340B01
17.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340B01#FFFFFF#000000##FFFFFF
##340B011.0017.581.1917.58
#FFFFFF17.581.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171300
Deuteranopia (green-blind)
#211C00
Tritanopia (blue-blind)
#3A0208
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #340b01;
/* rgb */ color: rgb(52, 11, 1);
/* oklch */ color: oklch(22.1% 0.069 38.0);
Tailwind
colors: {
  custom: {
    50: '#6f4c47',
    500: '#340b01',
    950: '#000000',
  },
}
SCSS
$custom: #340b01;
$custom-light: #6f4c47;
$custom-dark: #000000;
JSON
{
  "hex": "#340b01",
  "rgb": {
    "r": 52,
    "g": 11,
    "b": 1
  },
  "hsl": {
    "h": 11.765,
    "s": 96.226,
    "l": 10.392
  },
  "oklch": {
    "l": 0.22093,
    "c": 0.06935,
    "h": 38
  },
  "luminance": 0.00972
}

Semantic roles & 50–950 ramp

primary
#340B01
secondary
#186679
accent
#D5FF29
background
#F7F4F3
surface
#EDE7E5
border
#C8C3C1
text
#080100
muted
#7B7777

Preview Lab

Preview with #340B01

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

Preview Lab → · Contrast checker → · Palette generator →

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