#340803#340803

#340803 is a very dark, moderate red. Relative luminance 0.009; OKLCH L 21.7% C 0.072 H 32.1°. Best body text is #FFFFFF at 17.77:1 contrast (WCAG AA passes).

Color values

HEX#340803
RGBrgb(52, 8, 3)
HSLhsl(6, 89%, 11%)
HSVhsv(6, 94%, 20%)
CMYKcmyk(0%, 84.6%, 94.2%, 79.6%)
CIE-LABlab(8.22, 21.55, 11.57)
CIE-LCHlch(8.22, 24.46, 28.24°)
OKLaboklab(21.71% 0.0608 0.0381)
OKLCHoklch(21.71% 0.072 32.1)
XYZxyz(1.5196, 0.9105, 0.1819)
Luminance0.0091 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340803 #032F34
analogous
#340316 #340803 #342003
triadic
#340803 #033408 #080334
tetradic
#340803 #163403 #032F34 #200334
square
#340803 #163403 #032F34 #200334
split-complementary
#340803 #033420 #031634
monochromatic
#1D0402 #1D0402 #340803 #6E1106 #A81A0A

Accessibility & contrast

On white

17.77
#340803 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#340803 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #340803
17.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340803#FFFFFF#000000##FFFFFF
##3408031.0017.771.1817.77
#FFFFFF17.771.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151202
Deuteranopia (green-blind)
#201C02
Tritanopia (blue-blind)
#3A0007
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #340803;
/* rgb */ color: rgb(52, 8, 3);
/* oklch */ color: oklch(21.7% 0.072 32.1);
Tailwind
colors: {
  custom: {
    50: '#6f4b48',
    500: '#340803',
    950: '#000000',
  },
}
SCSS
$custom: #340803;
$custom-light: #6f4b48;
$custom-dark: #000000;
JSON
{
  "hex": "#340803",
  "rgb": {
    "r": 52,
    "g": 8,
    "b": 3
  },
  "hsl": {
    "h": 6.122,
    "s": 89.091,
    "l": 10.784
  },
  "oklch": {
    "l": 0.21706,
    "c": 0.07169,
    "h": 32.1
  },
  "luminance": 0.0091
}

Semantic roles & 50–950 ramp

primary
#340803
secondary
#1C6E77
accent
#E9FF29
background
#F7F4F4
surface
#EDE7E6
border
#C8C3C2
text
#080100
muted
#7B7777

Preview Lab

Preview with #340803

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

Preview Lab → · Contrast checker → · Palette generator →

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