#340405#340405

#340405 is a very dark, moderate red. Relative luminance 0.008; OKLCH L 21.2% C 0.076 H 25.5°. Best body text is #FFFFFF at 18.02:1 contrast (WCAG AA passes).

Color values

HEX#340405
RGBrgb(52, 4, 5)
HSLhsl(359, 86%, 11%)
HSVhsv(359, 92%, 20%)
CMYKcmyk(0%, 92.3%, 90.4%, 79.6%)
CIE-LABlab(7.48, 23.85, 9.68)
CIE-LCHlch(7.48, 25.74, 22.08°)
OKLaboklab(21.16% 0.069 0.0328)
OKLCHoklch(21.16% 0.076 25.5)
XYZxyz(1.4872, 0.8281, 0.2251)
Luminance0.0083 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340405 #043433
analogous
#34041D #340405 #341B04
triadic
#340405 #053404 #040534
tetradic
#340405 #1D3404 #043433 #1B0434
square
#340405 #1D3404 #043433 #1B0434
split-complementary
#340405 #04341B #041D34
monochromatic
#1C0203 #1C0203 #340405 #6D080A #A60D10

Accessibility & contrast

On white

18.02
#340405 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340405
18.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340405#FFFFFF#000000##FFFFFF
##3404051.0018.021.1718.02
#FFFFFF18.021.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121005
Deuteranopia (green-blind)
#1E1A04
Tritanopia (blue-blind)
#3A0005
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #340405;
/* rgb */ color: rgb(52, 4, 5);
/* oklch */ color: oklch(21.2% 0.076 25.5);
Tailwind
colors: {
  custom: {
    50: '#704949',
    500: '#340405',
    950: '#000000',
  },
}
SCSS
$custom: #340405;
$custom-light: #704949;
$custom-dark: #000000;
JSON
{
  "hex": "#340405",
  "rgb": {
    "r": 52,
    "g": 4,
    "b": 5
  },
  "hsl": {
    "h": 358.75,
    "s": 85.714,
    "l": 10.98
  },
  "oklch": {
    "l": 0.21157,
    "c": 0.07638,
    "h": 25.5
  },
  "luminance": 0.00828
}

Semantic roles & 50–950 ramp

primary
#340405
secondary
#1E7674
accent
#FCF82C
background
#F7F4F4
surface
#EDE7E6
border
#C8C3C2
text
#080100
muted
#7B7777

Preview Lab

Preview with #340405

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

Preview Lab → · Contrast checker → · Palette generator →

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