#340702#340702

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

Color values

HEX#340702
RGBrgb(52, 7, 2)
HSLhsl(6, 93%, 11%)
HSVhsv(6, 96%, 20%)
CMYKcmyk(0%, 86.5%, 96.2%, 79.6%)
CIE-LABlab(8.01, 22.02, 11.67)
CIE-LCHlch(8.01, 24.92, 27.92°)
OKLaboklab(21.54% 0.0618 0.0395)
OKLCHoklch(21.54% 0.073 32.6)
XYZxyz(1.5033, 0.8866, 0.1494)
Luminance0.0089 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340702 #022F34
analogous
#340216 #340702 #342002
triadic
#340702 #023407 #070234
tetradic
#340702 #163402 #022F34 #200234
square
#340702 #163402 #022F34 #200234
split-complementary
#340702 #023420 #021634
monochromatic
#1D0401 #1D0401 #340702 #6F0F04 #AA1707

Accessibility & contrast

On white

17.84
#340702 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340702
17.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340702#FFFFFF#000000##FFFFFF
##3407021.0017.841.1817.84
#FFFFFF17.841.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.841.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #340702;
/* rgb */ color: rgb(52, 7, 2);
/* oklch */ color: oklch(21.5% 0.073 32.6);
Tailwind
colors: {
  custom: {
    50: '#6f4a47',
    500: '#340702',
    950: '#000000',
  },
}
SCSS
$custom: #340702;
$custom-light: #6f4a47;
$custom-dark: #000000;
JSON
{
  "hex": "#340702",
  "rgb": {
    "r": 52,
    "g": 7,
    "b": 2
  },
  "hsl": {
    "h": 6,
    "s": 92.593,
    "l": 10.588
  },
  "oklch": {
    "l": 0.2154,
    "c": 0.07329,
    "h": 32.6
  },
  "luminance": 0.00886
}

Semantic roles & 50–950 ramp

primary
#340702
secondary
#1A6F78
accent
#EAFF29
background
#F7F4F4
surface
#EDE7E6
border
#C8C3C2
text
#080100
muted
#7B7777

Preview Lab

Preview with #340702

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

Preview Lab → · Contrast checker → · Palette generator →

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