#340B08#340B08

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

Color values

HEX#340B08
RGBrgb(52, 11, 8)
HSLhsl(4, 73%, 12%)
HSVhsv(4, 85%, 20%)
CMYKcmyk(0%, 78.8%, 84.6%, 79.6%)
CIE-LABlab(8.88, 20.34, 10.50)
CIE-LCHlch(8.88, 22.89, 27.30°)
OKLaboklab(22.23% 0.0588 0.0314)
OKLCHoklch(22.23% 0.067 28.1)
XYZxyz(1.5798, 0.9872, 0.3370)
Luminance0.0099 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340B08 #083134
analogous
#34081B #340B08 #342108
triadic
#340B08 #08340B #0B0834
tetradic
#340B08 #1B3408 #083134 #210834
square
#340B08 #1B3408 #083134 #210834
split-complementary
#340B08 #083421 #081B34
monochromatic
#1B0604 #1B0604 #340B08 #691610 #9E2118

Accessibility & contrast

On white

17.54
#340B08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340B08
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340B08#FFFFFF#000000##FFFFFF
##340B081.0017.541.2017.54
#FFFFFF17.541.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161407
Deuteranopia (green-blind)
#211D07
Tritanopia (blue-blind)
#3A030B
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #340b08;
/* rgb */ color: rgb(52, 11, 8);
/* oklch */ color: oklch(22.2% 0.067 28.1);
Tailwind
colors: {
  custom: {
    50: '#6f4d4a',
    500: '#340b08',
    950: '#000000',
  },
}
SCSS
$custom: #340b08;
$custom-light: #6f4d4a;
$custom-dark: #000000;
JSON
{
  "hex": "#340b08",
  "rgb": {
    "r": 52,
    "g": 11,
    "b": 8
  },
  "hsl": {
    "h": 4.091,
    "s": 73.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22232,
    "c": 0.06662,
    "h": 28.1
  },
  "luminance": 0.00987
}

Semantic roles & 50–950 ramp

primary
#340B08
secondary
#256E73
accent
#E3F038
background
#F7F4F4
surface
#EDE7E7
border
#C8C3C3
text
#080101
muted
#7B7777

Preview Lab

Preview with #340B08

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

Preview Lab → · Contrast checker → · Palette generator →

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