#340504#340504

#340504 is a very dark, moderate red. Relative luminance 0.008; OKLCH L 21.3% C 0.075 H 27.8°. Best body text is #FFFFFF at 17.96:1 contrast (WCAG AA passes).

Color values

HEX#340504
RGBrgb(52, 5, 4)
HSLhsl(1, 86%, 11%)
HSVhsv(1, 92%, 20%)
CMYKcmyk(0%, 90.4%, 92.3%, 79.6%)
CIE-LABlab(7.66, 23.24, 10.34)
CIE-LCHlch(7.66, 25.44, 23.99°)
OKLaboklab(21.29% 0.0665 0.035)
OKLCHoklch(21.29% 0.075 27.8)
XYZxyz(1.4925, 0.8476, 0.1999)
Luminance0.0085 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340504 #043334
analogous
#34041B #340504 #341D04
triadic
#340504 #043405 #050434
tetradic
#340504 #1B3404 #043334 #1D0434
square
#340504 #1B3404 #043334 #1D0434
split-complementary
#340504 #04341D #041B34
monochromatic
#1C0302 #1C0302 #340504 #6D0A08 #A6100D

Accessibility & contrast

On white

17.96
#340504 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340504
17.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340504#FFFFFF#000000##FFFFFF
##3405041.0017.961.1717.96
#FFFFFF17.961.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131004
Deuteranopia (green-blind)
#1F1B03
Tritanopia (blue-blind)
#3A0005
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #340504;
/* rgb */ color: rgb(52, 5, 4);
/* oklch */ color: oklch(21.3% 0.075 27.8);
Tailwind
colors: {
  custom: {
    50: '#704948',
    500: '#340504',
    950: '#000000',
  },
}
SCSS
$custom: #340504;
$custom-light: #704948;
$custom-dark: #000000;
JSON
{
  "hex": "#340504",
  "rgb": {
    "r": 52,
    "g": 5,
    "b": 4
  },
  "hsl": {
    "h": 1.25,
    "s": 85.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.21286,
    "c": 0.0752,
    "h": 27.8
  },
  "luminance": 0.00847
}

Semantic roles & 50–950 ramp

primary
#340504
secondary
#1E7476
accent
#F8FC2C
background
#F7F4F4
surface
#EDE7E6
border
#C8C3C2
text
#080100
muted
#7B7777

Preview Lab

Preview with #340504

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

Preview Lab → · Contrast checker → · Palette generator →

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