#340602#340602

#340602 is a very dark, moderate red. Relative luminance 0.009; OKLCH L 21.4% C 0.075 H 31.6°. Best body text is #FFFFFF at 17.90:1 contrast (WCAG AA passes).

Color values

HEX#340602
RGBrgb(52, 6, 2)
HSLhsl(5, 93%, 11%)
HSVhsv(5, 96%, 20%)
CMYKcmyk(0%, 88.5%, 96.2%, 79.6%)
CIE-LABlab(7.81, 22.56, 11.38)
CIE-LCHlch(7.81, 25.27, 26.77°)
OKLaboklab(21.39% 0.0635 0.0391)
OKLCHoklch(21.39% 0.075 31.6)
XYZxyz(1.4924, 0.8649, 0.1458)
Luminance0.0086 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340602 #023034
analogous
#340217 #340602 #341F02
triadic
#340602 #023406 #060234
tetradic
#340602 #173402 #023034 #1F0234
square
#340602 #173402 #023034 #1F0234
split-complementary
#340602 #02341F #021734
monochromatic
#1D0301 #1D0301 #340602 #6F0D04 #AA1407

Accessibility & contrast

On white

17.90
#340602 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340602
17.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340602#FFFFFF#000000##FFFFFF
##3406021.0017.901.1717.90
#FFFFFF17.901.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #340602;
/* rgb */ color: rgb(52, 6, 2);
/* oklch */ color: oklch(21.4% 0.075 31.6);
Tailwind
colors: {
  custom: {
    50: '#704a47',
    500: '#340602',
    950: '#000000',
  },
}
SCSS
$custom: #340602;
$custom-light: #704a47;
$custom-dark: #000000;
JSON
{
  "hex": "#340602",
  "rgb": {
    "r": 52,
    "g": 6,
    "b": 2
  },
  "hsl": {
    "h": 4.8,
    "s": 92.593,
    "l": 10.588
  },
  "oklch": {
    "l": 0.21393,
    "c": 0.07453,
    "h": 31.6
  },
  "luminance": 0.00865
}

Semantic roles & 50–950 ramp

primary
#340602
secondary
#1A7178
accent
#EEFF29
background
#F7F4F4
surface
#EDE7E6
border
#C8C3C2
text
#080100
muted
#7B7777

Preview Lab

Preview with #340602

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

Preview Lab → · Contrast checker → · Palette generator →

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