#340801#340801

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

Color values

HEX#340801
RGBrgb(52, 8, 1)
HSLhsl(8, 96%, 10%)
HSVhsv(8, 98%, 20%)
CMYKcmyk(0%, 84.6%, 98.1%, 79.6%)
CIE-LABlab(8.18, 21.42, 12.33)
CIE-LCHlch(8.18, 24.71, 29.94°)
OKLaboklab(21.67% 0.0594 0.0417)
OKLCHoklch(21.67% 0.073 35.1)
XYZxyz(1.5087, 0.9062, 0.1242)
Luminance0.0091 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340801 #012D34
analogous
#340113 #340801 #342101
triadic
#340801 #013408 #080134
tetradic
#340801 #133401 #012D34 #210134
square
#340801 #133401 #012D34 #210134
split-complementary
#340801 #013421 #011334
monochromatic
#1E0501 #1E0501 #340801 #701102 #AC1A03

Accessibility & contrast

On white

17.78
#340801 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340801
17.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340801#FFFFFF#000000##FFFFFF
##3408011.0017.781.1817.78
#FFFFFF17.781.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151200
Deuteranopia (green-blind)
#201B00
Tritanopia (blue-blind)
#3A0006
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #340801;
/* rgb */ color: rgb(52, 8, 1);
/* oklch */ color: oklch(21.7% 0.073 35.1);
Tailwind
colors: {
  custom: {
    50: '#6f4b47',
    500: '#340801',
    950: '#000000',
  },
}
SCSS
$custom: #340801;
$custom-light: #6f4b47;
$custom-dark: #000000;
JSON
{
  "hex": "#340801",
  "rgb": {
    "r": 52,
    "g": 8,
    "b": 1
  },
  "hsl": {
    "h": 8.235,
    "s": 96.226,
    "l": 10.392
  },
  "oklch": {
    "l": 0.21665,
    "c": 0.07257,
    "h": 35.1
  },
  "luminance": 0.00906
}

Semantic roles & 50–950 ramp

primary
#340801
secondary
#186C79
accent
#E2FF29
background
#F7F4F3
surface
#EDE7E5
border
#C8C3C1
text
#080100
muted
#7B7777

Preview Lab

Preview with #340801

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

Preview Lab → · Contrast checker → · Palette generator →

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