#340403#340403

#340403 is a very dark, moderate red. Relative luminance 0.008; OKLCH L 21.1% C 0.077 H 28.3°. Best body text is #FFFFFF at 18.03:1 contrast (WCAG AA passes).

Color values

HEX#340403
RGBrgb(52, 4, 3)
HSLhsl(1, 89%, 11%)
HSVhsv(1, 94%, 20%)
CMYKcmyk(0%, 92.3%, 94.2%, 79.6%)
CIE-LABlab(7.44, 23.71, 10.43)
CIE-LCHlch(7.44, 25.91, 23.75°)
OKLaboklab(21.11% 0.0677 0.0364)
OKLCHoklch(21.11% 0.077 28.3)
XYZxyz(1.4762, 0.8237, 0.1674)
Luminance0.0082 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#340403 #033334
analogous
#34031A #340403 #341C03
triadic
#340403 #033404 #040334
tetradic
#340403 #1A3403 #033334 #1C0334
square
#340403 #1A3403 #033334 #1C0334
split-complementary
#340403 #03341C #031A34
monochromatic
#1D0202 #1D0202 #340403 #6E0806 #A80D0A

Accessibility & contrast

On white

18.03
#340403 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #340403
18.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##340403#FFFFFF#000000##FFFFFF
##3404031.0018.031.1618.03
#FFFFFF18.031.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#131003
Deuteranopia (green-blind)
#1F1A02
Tritanopia (blue-blind)
#3A0004
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #340403;
/* rgb */ color: rgb(52, 4, 3);
/* oklch */ color: oklch(21.1% 0.077 28.3);
Tailwind
colors: {
  custom: {
    50: '#704948',
    500: '#340403',
    950: '#000000',
  },
}
SCSS
$custom: #340403;
$custom-light: #704948;
$custom-dark: #000000;
JSON
{
  "hex": "#340403",
  "rgb": {
    "r": 52,
    "g": 4,
    "b": 3
  },
  "hsl": {
    "h": 1.224,
    "s": 89.091,
    "l": 10.784
  },
  "oklch": {
    "l": 0.21113,
    "c": 0.07686,
    "h": 28.3
  },
  "luminance": 0.00823
}

Semantic roles & 50–950 ramp

primary
#340403
secondary
#1C7577
accent
#FBFF29
background
#F7F4F4
surface
#EDE7E6
border
#C8C3C2
text
#080100
muted
#7B7777

Preview Lab

Preview with #340403

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

Preview Lab → · Contrast checker → · Palette generator →

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