#340C05#340C05

#340C05 is a very dark, moderate red. Relative luminance 0.010; OKLCH L 22.3% C 0.066 H 33.2°. Best body text is #FFFFFF at 17.49:1 contrast (WCAG AA passes).

Color values

HEX#340C05
RGBrgb(52, 12, 5)
HSLhsl(9, 82%, 11%)
HSVhsv(9, 90%, 20%)
CMYKcmyk(0%, 76.9%, 90.4%, 79.6%)
CIE-LABlab(9.03, 19.61, 11.92)
CIE-LCHlch(9.03, 22.95, 31.31°)
OKLaboklab(22.32% 0.0555 0.0364)
OKLCHoklch(22.32% 0.066 33.2)
XYZxyz(1.5752, 1.0042, 0.2544)
Luminance0.0100 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340C05 #052D34
analogous
#340515 #340C05 #342305
triadic
#340C05 #05340C #0C0534
tetradic
#340C05 #153405 #052D34 #230534
square
#340C05 #153405 #052D34 #230534
split-complementary
#340C05 #053423 #051534
monochromatic
#1C0603 #1C0603 #340C05 #6C190A #A42610

Accessibility & contrast

On white

17.49
#340C05 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340C05
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340C05#FFFFFF#000000##FFFFFF
##340C051.0017.491.2017.49
#FFFFFF17.491.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#171404
Deuteranopia (green-blind)
#211D04
Tritanopia (blue-blind)
#3A030A
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #340c05;
/* rgb */ color: rgb(52, 12, 5);
/* oklch */ color: oklch(22.3% 0.066 33.2);
Tailwind
colors: {
  custom: {
    50: '#6f4d49',
    500: '#340c05',
    950: '#000000',
  },
}
SCSS
$custom: #340c05;
$custom-light: #6f4d49;
$custom-dark: #000000;
JSON
{
  "hex": "#340c05",
  "rgb": {
    "r": 52,
    "g": 12,
    "b": 5
  },
  "hsl": {
    "h": 8.936,
    "s": 82.456,
    "l": 11.176
  },
  "oklch": {
    "l": 0.22321,
    "c": 0.06636,
    "h": 33.2
  },
  "luminance": 0.01004
}

Semantic roles & 50–950 ramp

primary
#340C05
secondary
#1F6975
accent
#DBF92F
background
#F7F4F4
surface
#EDE7E6
border
#C8C3C2
text
#080100
muted
#7B7777

Preview Lab

Preview with #340C05

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

Preview Lab → · Contrast checker → · Palette generator →

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