#340508#340508

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

Color values

HEX#340508
RGBrgb(52, 5, 8)
HSLhsl(356, 82%, 11%)
HSVhsv(356, 90%, 20%)
CMYKcmyk(0%, 90.4%, 84.6%, 79.6%)
CIE-LABlab(7.74, 23.51, 8.83)
CIE-LCHlch(7.74, 25.11, 20.59°)
OKLaboklab(21.37% 0.0688 0.0284)
OKLCHoklch(21.37% 0.074 22.4)
XYZxyz(1.5144, 0.8564, 0.3152)
Luminance0.0086 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340508 #053431
analogous
#34051F #340508 #341905
triadic
#340508 #083405 #050834
tetradic
#340508 #1F3405 #053431 #190534
square
#340508 #1F3405 #053431 #190534
split-complementary
#340508 #053419 #051F34
monochromatic
#1C0304 #1C0304 #340508 #6C0A11 #A41019

Accessibility & contrast

On white

17.93
#340508 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340508
17.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340508#FFFFFF#000000##FFFFFF
##3405081.0017.931.1717.93
#FFFFFF17.931.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131008
Deuteranopia (green-blind)
#1F1B07
Tritanopia (blue-blind)
#3A0006
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #340508;
/* rgb */ color: rgb(52, 5, 8);
/* oklch */ color: oklch(21.4% 0.074 22.4);
Tailwind
colors: {
  custom: {
    50: '#70494a',
    500: '#340508',
    950: '#000000',
  },
}
SCSS
$custom: #340508;
$custom-light: #70494a;
$custom-dark: #000000;
JSON
{
  "hex": "#340508",
  "rgb": {
    "r": 52,
    "g": 5,
    "b": 8
  },
  "hsl": {
    "h": 356.17,
    "s": 82.456,
    "l": 11.176
  },
  "oklch": {
    "l": 0.21373,
    "c": 0.07446,
    "h": 22.4
  },
  "luminance": 0.00856
}

Semantic roles & 50–950 ramp

primary
#340508
secondary
#1F7570
accent
#F9EC2F
background
#F7F4F4
surface
#EDE7E7
border
#C8C3C3
text
#080101
muted
#7B7777

Preview Lab

Preview with #340508

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

Preview Lab → · Contrast checker → · Palette generator →

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