#340D02#340D02

#340D02 is a very dark, moderate red. Relative luminance 0.010; OKLCH L 22.4% C 0.067 H 38.7°. Best body text is #FFFFFF at 17.44:1 contrast (WCAG AA passes).

Color values

HEX#340D02
RGBrgb(52, 13, 2)
HSLhsl(13, 93%, 11%)
HSVhsv(13, 96%, 20%)
CMYKcmyk(0%, 75%, 96.2%, 79.6%)
CIE-LABlab(9.18, 18.85, 13.36)
CIE-LCHlch(9.18, 23.10, 35.34°)
OKLaboklab(22.42% 0.052 0.0417)
OKLCHoklch(22.42% 0.067 38.7)
XYZxyz(1.5712, 1.0225, 0.1721)
Luminance0.0102 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340D02 #022934
analogous
#340210 #340D02 #342602
triadic
#340D02 #02340D #0D0234
tetradic
#340D02 #103402 #022934 #260234
square
#340D02 #103402 #022934 #260234
split-complementary
#340D02 #023426 #021034
monochromatic
#1D0701 #1D0701 #340D02 #6F1C04 #AA2A07

Accessibility & contrast

On white

17.44
#340D02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#340D02 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340D02
17.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340D02#FFFFFF#000000##FFFFFF
##340D021.0017.441.2017.44
#FFFFFF17.441.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181401
Deuteranopia (green-blind)
#221D01
Tritanopia (blue-blind)
#3A040A
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #340d02;
/* rgb */ color: rgb(52, 13, 2);
/* oklch */ color: oklch(22.4% 0.067 38.7);
Tailwind
colors: {
  custom: {
    50: '#6f4e47',
    500: '#340d02',
    950: '#000000',
  },
}
SCSS
$custom: #340d02;
$custom-light: #6f4e47;
$custom-dark: #000000;
JSON
{
  "hex": "#340d02",
  "rgb": {
    "r": 52,
    "g": 13,
    "b": 2
  },
  "hsl": {
    "h": 13.2,
    "s": 92.593,
    "l": 10.588
  },
  "oklch": {
    "l": 0.22418,
    "c": 0.06665,
    "h": 38.7
  },
  "luminance": 0.01022
}

Semantic roles & 50–950 ramp

primary
#340D02
secondary
#1A6378
accent
#D0FF29
background
#F7F4F4
surface
#EDE7E6
border
#C8C3C2
text
#080100
muted
#7B7777

Preview Lab

Preview with #340D02

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

Preview Lab → · Contrast checker → · Palette generator →

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