#340304#340304

#340304 is a very dark, moderate red. Relative luminance 0.008; OKLCH L 21.0% C 0.078 H 25.9°. Best body text is #FFFFFF at 18.09:1 contrast (WCAG AA passes).

Color values

HEX#340304
RGBrgb(52, 3, 4)
HSLhsl(359, 89%, 11%)
HSVhsv(359, 94%, 20%)
CMYKcmyk(0%, 94.2%, 92.3%, 79.6%)
CIE-LABlab(7.26, 24.32, 9.77)
CIE-LCHlch(7.26, 26.21, 21.89°)
OKLaboklab(20.98% 0.0702 0.0341)
OKLCHoklch(20.98% 0.078 25.9)
XYZxyz(1.4708, 0.8042, 0.1926)
Luminance0.0080 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340304 #033433
analogous
#34031C #340304 #341A03
triadic
#340304 #043403 #030434
tetradic
#340304 #1C3403 #033433 #1A0334
square
#340304 #1C3403 #033433 #1A0334
split-complementary
#340304 #03341A #031C34
monochromatic
#1D0202 #1D0202 #340304 #6E0608 #A80A0D

Accessibility & contrast

On white

18.09
#340304 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#340304 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340304
18.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340304#FFFFFF#000000##FFFFFF
##3403041.0018.091.1618.09
#FFFFFF18.091.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#120F04
Deuteranopia (green-blind)
#1E1A03
Tritanopia (blue-blind)
#3A0004
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #340304;
/* rgb */ color: rgb(52, 3, 4);
/* oklch */ color: oklch(21.0% 0.078 25.9);
Tailwind
colors: {
  custom: {
    50: '#704848',
    500: '#340304',
    950: '#000000',
  },
}
SCSS
$custom: #340304;
$custom-light: #704848;
$custom-dark: #000000;
JSON
{
  "hex": "#340304",
  "rgb": {
    "r": 52,
    "g": 3,
    "b": 4
  },
  "hsl": {
    "h": 358.776,
    "s": 89.091,
    "l": 10.784
  },
  "oklch": {
    "l": 0.20981,
    "c": 0.07806,
    "h": 25.9
  },
  "luminance": 0.00804
}

Semantic roles & 50–950 ramp

primary
#340304
secondary
#1C7775
accent
#FFFB29
background
#F7F4F4
surface
#EDE6E6
border
#C8C2C2
text
#080100
muted
#7B7777

Preview Lab

Preview with #340304

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

Preview Lab → · Contrast checker → · Palette generator →

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