#340406#340406

#340406 is a very dark, moderate red. Relative luminance 0.008; OKLCH L 21.2% C 0.076 H 24.1°. Best body text is #FFFFFF at 18.01:1 contrast (WCAG AA passes).

Color values

HEX#340406
RGBrgb(52, 4, 6)
HSLhsl(358, 86%, 11%)
HSVhsv(358, 92%, 20%)
CMYKcmyk(0%, 92.3%, 88.5%, 79.6%)
CIE-LABlab(7.50, 23.92, 9.30)
CIE-LCHlch(7.50, 25.66, 21.25°)
OKLaboklab(21.18% 0.0696 0.0311)
OKLCHoklch(21.18% 0.076 24.1)
XYZxyz(1.4926, 0.8303, 0.2539)
Luminance0.0083 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340406 #043432
analogous
#34041E #340406 #341A04
triadic
#340406 #063404 #040634
tetradic
#340406 #1E3404 #043432 #1A0434
square
#340406 #1E3404 #043432 #1A0434
split-complementary
#340406 #04341A #041E34
monochromatic
#1C0203 #1C0203 #340406 #6D080D #A60D13

Accessibility & contrast

On white

18.01
#340406 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#340406 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340406
18.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340406#FFFFFF#000000##FFFFFF
##3404061.0018.011.1718.01
#FFFFFF18.011.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121006
Deuteranopia (green-blind)
#1E1A05
Tritanopia (blue-blind)
#3A0005
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #340406;
/* rgb */ color: rgb(52, 4, 6);
/* oklch */ color: oklch(21.2% 0.076 24.1);
Tailwind
colors: {
  custom: {
    50: '#704949',
    500: '#340406',
    950: '#000000',
  },
}
SCSS
$custom: #340406;
$custom-light: #704949;
$custom-dark: #000000;
JSON
{
  "hex": "#340406",
  "rgb": {
    "r": 52,
    "g": 4,
    "b": 6
  },
  "hsl": {
    "h": 357.5,
    "s": 85.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.21179,
    "c": 0.0762,
    "h": 24.1
  },
  "luminance": 0.0083
}

Semantic roles & 50–950 ramp

primary
#340406
secondary
#1E7673
accent
#FCF32C
background
#F7F4F4
surface
#EDE7E6
border
#C8C3C2
text
#080100
muted
#7B7777

Preview Lab

Preview with #340406

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

Preview Lab → · Contrast checker → · Palette generator →

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